• Resolved graphicbob

    (@graphicbob)


    I have a form which contains a list of checkboxes. If a box is checked, an upload field appears below the checkboxes so that the user can upload the appropriate document. Each check box has an accompanying upload field which remains hidden unless the box is checked.

    The email that is sent to the form owner has an html table that shows the results. The files are at the bottom of the email, and in the html table the file name is listed next to the type of document, i.e., Final Report File Name | whatever.pdf.

    In the email code, I have the group tags around the rows (tr) that display the particular field. The idea being, if the box is not click and there is no document, i.e., that particular upload field is invisible on the form, then the row is not shown in the table.

    What is happening instead is that the row is there, the field in the second column is blank, and the short code is listed at the top of the email. Does that clearly paint the picture? Below you will find the form code, and the email code.

    Also, here is a link to the form. It will be only for logged in users once complete, but I opened it up for you to see how it acts: https://floridaspacegrant.org/program-deliverables/

    <div id="student-form" class="deliverable-form">
    <div class="form-col1">
    <h4 class="delivers">Program Information:</h4>
    <h3>University</h3>
    [select* your-university include_blank "Bethune-Cookman University" "Broward college" "Eastern Florida State College" "Eckerd College" "Embry Riddle Aeronautical University" "Florida A & M University" "Florida Atlantic University" "Florida Gulf Coast University" "Florida Institute of Technology" "Florida International University" "Florida State University" "Kennedy Space Center" "Orlando Science Center" "Space Florida" "The Astronauts Memorial Foundation" "University of Central Florida" "University of Florida" "University of Miami" "University of North Florida" "University of South Florida" "University of West Florida" "Other"]   
    
    [group other-affiliate]
    <h3>Organization Name</h3>
        [text other-organization]
    [/group]
    
    <h3>Task Order Number</h3>
        [text* order-number] 
    
    <h3>P.I. Name</h3>
        [text* pi-name]
    
    <h3>P.I. Phone Number</h3>
        [text* pi-number]
    
    <h4 class="delivers">Submitter Information </h4>
    
    <h3>Submitter's Name</h3>
        [text* submit-name]
    
    <h3>Email</h3>
        [email* submit-email]
    
    <h3>Contact Phone</h3>
        [text* submit-phone] 
    </div>
    
    <div class="form-col2">
    <h3>Type of Deliverable:</h3>
    <p style="padding:0;margin:0;margin-left:10px;">[checkbox* deliverable-options id:deliverables "Export Control Form" "China Assurance Form" "Student Longitudinal Tracking Form" "Student Awardee Questionnaire Form" "Student Authorization Form" "OEPM Report" "Final Report" "Matching Certification" "Invoice" "Other (i.e., images)" "Publications"]</p>
    
    [group export-control-group]
    <p class="upload-text">Accepted Export Control Form file types: PDF, DOC, DOCX</p>
    <div>[file export-control-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group china-assurance-group]
    <p class="upload-text">Accepted China Assurance Form file types: PDF, DOC, DOCX</p>
    <div>[file china-assurance-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group student-tracking-group]
    <p class="upload-text">Accepted Student Longitudinal Tracking Form file types: PDF, DOC, DOCX</p>
    <div>[file student-tracking-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group student-awardee-group]
    <p class="upload-text">Accepted Student Awardee Questionnaire Form file types: PDF, DOC, DOCX</p>
    <div>[file student-awardee-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group student-authorization-group]
    <p class="upload-text">Accepted Student Authorization Form file types: PDF, DOC, DOCX</p>
    <div>[file student-authorization-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group oepm-report-group]
    <p class="upload-text">Accepted OEPM Report file types: PDF, DOC, DOCX</p>
    <div>[file oepm-report-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group final-report-group]
    <p class="upload-text">Accepted Final Report file types: PDF, DOC, DOCX</p>
    <div>[file final-report-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group matching-certification-group]
    <p class="upload-text">Accepted Matching Certification file types: PDF, DOC, DOCX</p>
    <div>[file matching-certification-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group invoice-group]
    <p class="upload-text">Accepted Invoice file types: PDF, DOC, DOCX</p>
    <div>[file invoice-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group other-group]
    <p class="upload-text">Accepted file types: PDF, DOC, DOCX, JPG, PNG</p>
    <div>[file other-file limit:32mb filetypes:pdf|doc|docx|jpg|png]</div>
    <div>[file other-file-two limit:32mb filetypes:pdf|doc|docx|jpg|png]</div>
    <div>[file other-file-three limit:32mb filetypes:pdf|doc|docx|jpg|png]</div>
    <div>[file other-file-four limit:32mb filetypes:pdf|doc|docx|jpg|png]</div>
    [/group]
    
    [group publications-group]
    <p class="upload-text">Accepted Publication file types: PDF, JPG, PNG</p>
    <div>[file publications-file limit:32mb filetypes:pdf|jpg|png]</div>
    <div>[file publications-file-two limit:32mb filetypes:pdf|jpg|png]</div>
    <div>[file publications-file-three limit:32mb filetypes:pdf|jpg|png]</div>
    <div>[file publications-file-four limit:32mb filetypes:pdf|jpg|png]</div>
    [/group]
    
    <div style="margin-top:20px;">[textarea additional-info placeholder "Additional information, i.e., links to media, articles, etc"]</div>
    
    <h6>You may e-mail additional documents to the following address: </h6>
    <div><span>Dr.Jaydeep Mukherjee
    FSGC Director
    <a href="mailto:[email protected]">[email protected]</a>
    NASA Florida Space Grant Consortium
    PO Box 160650
    12354 Research Parkway
    Partnership 1 Building, Rom 218
    Orlando  FL, 32816-0650</span></div>
    
    </div>
    <div style="clear:both;text-align:center;">
    <p>[submit "Send"]</p>
    </div>
    </div>
    <div style="border-bottom:1px dotted #999999;"><h2>Greetings, FSGC!</h2></div>
    
    <p><strong>[submit-name]</strong> has submitted a <em>Program Deliverable</em>.  You will find all submitted information and files below.  All of this information is stored your the database and can be retrieved and exported.  You can access this data by logging in  <a href="https://www.floridaspacegrant.org/cms/login">here</a> and navigating to <em>Contact Form DB</em> in the left sidebar of your Dashboard.</p>
    
    <table style="border-top:2px dotted #16396f;padding-top:10px;border-bottom:2px dotted #16396f;padding-bottom:10px;" cellspacing="0">
    
    <tr height="26">
    <td colspan="2" style="font-weight:bold;">Program Information</td>
    </tr>
    
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">University</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[your-university]</td>
    </tr>
    
    [other-affiliate]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Other Organization</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[other-organization]</td>
    </tr>
    [/other-affiliate]
    
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Task Order Number</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[order-number]</td>
    </tr>
    
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">PI Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[pi-name]</td>
    </tr>
    
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">PI Phone Number]</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[pi-number]</td>
    </tr>
    
    <tr height="26">
    <td colspan="2" style="font-weight:bold;">Submitter Information</td>
    </tr>
    
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[submit-name]</td>
    </tr>
    
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Email</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[submit-email]</td>
    </tr>
    
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Phone Number</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[submit-phone]</td>
    </tr>
    
    <tr height="26">
    <td colspan="2" style="font-weight:bold;">Type of Deliverable</td>
    </tr>
    
    <tr height="26">
    <td colspan="2">[deliverable-options]</td>
    </tr>
    
    [export-control-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Export Control File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[export-control-file]</td>
    </tr>
    [/export-control-group]
    
    [china-assurance-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">China Assurance File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[china-assurance-file]</td>
    </tr>
    [/china-assurance-group]
    
    [student-tracking-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Student Longitudinal Tracking File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[student-tracking-file]</td>
    </tr>
    [/student-tracking-group]
    
    [student-awardee-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Student Awardee Questionnaire File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[student-awardee-file]</td>
    </tr>
    [/student-awardee-group]
    
    [student-authorization-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Student Authorization File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[student-authorization-file]</td>
    </tr>
    [/student-authorization-group]
    
    [oepm-report-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">OEPM Report File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[oepm-report-file]</td>
    </tr>
    [/oepm-report-group]
    
    [final-report-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Final Report File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[final-report-file]</td>
    </tr>
    [/final-report-group]
    
    [matching-certification-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Matching Certification File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[matching-certification-file]</td>
    </tr>
    [/matching-certification-group]
    
    [invoice-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Matching Certification File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[invoice-file]</td>
    </tr>
    [/invoice-group]
    
    [other-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Other File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[other-file] [other-file-two] [other-file-three] [other-file-four]</td>
    </tr>
    [/other-group]
    
    [publications-group]
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Publications File Name</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[publications-file] [publications-file-two] [publications-file-three] [publications-file-four]</td>
    </tr>
    [/publications-group]
    
    <tr height="26">
    <td bgcolor="#16396f" style="padding:5px;border-bottom:1px solid #999"><strong style="padding: 5px 0 0px 10px;color:#ffffff;font-size:90%;font-family:sans-serif;">Additional Information</strong></td>
    <td style="padding:5px;border-bottom:1px solid #999">[additional-info]</td>
    </tr>
    
    </table>

    When I receive the email, it comes through like this (screenshot): https://floridaspacegrant.org/email-screenshot.png

    I would prefer that the rows without data not show up, and of course, the shortcode at the top is the real problem.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter graphicbob

    (@graphicbob)

    (and yes, I know I should get rid of all the in-line css, but I copied and pasted the table from one of their old forms from 6 years ago and just didn’t bother ‘correcting’ it)

    Thread Starter graphicbob

    (@graphicbob)

    Ok, sorry. I cleaned up the email code (sorry about that):

    <div class="tg-wrap">
    <table class="tg">
    <tr>
    <td colspan="2" style="font-weight:bold;">Program Information</td>
    </tr>
    
    <tr>
    <td class="title">University</strong></td>
    <td class="info">[your-university]</td>
    </tr>
    
    [other-affiliate]
    <tr>
    <td class="title">Other Organization</strong></td>
    <td class="info">[other-organization]</td>
    </tr>
    [/other-affiliate]
    
    <tr>
    <td class="title">Task Order Number</strong></td>
    <td class="info">[order-number]</td>
    </tr>
    
    <tr>
    <td class="title">PI Name</strong></td>
    <td class="info">[pi-name]</td>
    </tr>
    
    <tr>
    <td class="title">PI Phone Number]</strong></td>
    <td class="info">[pi-number]</td>
    </tr>
    
    <tr>
    <td colspan="2" style="font-weight:bold;">Submitter Information</td>
    </tr>
    
    <tr>
    <td class="title">Name</strong></td>
    <td class="info">[submit-name]</td>
    </tr>
    
    <tr>
    <td class="title">Email</strong></td>
    <td class="info">[submit-email]</td>
    </tr>
    
    <tr>
    <td class="title">Phone Number</strong></td>
    <td class="info">[submit-phone]</td>
    </tr>
    
    <tr>
    <td colspan="2" style="font-weight:bold;">Type of Deliverable</td>
    </tr>
    
    <tr>
    <td colspan="2">[deliverable-options]</td>
    </tr>
    
    [export-control-group]
    <tr>
    <td class="title">Export Control File Name</strong></td>
    <td class="info">[export-control-file]</td>
    </tr>
    [/export-control-group]
    
    [china-assurance-group]
    <tr>
    <td class="title">China Assurance File Name</strong></td>
    <td class="info">[china-assurance-file]</td>
    </tr>
    [/china-assurance-group]
    
    [student-tracking-group]
    <tr>
    <td class="title">Student Longitudinal Tracking File Name</strong></td>
    <td class="info">[student-tracking-file]</td>
    </tr>
    [/student-tracking-group]
    
    [student-awardee-group]
    <tr>
    <td class="title">Student Awardee Questionnaire File Name</strong></td>
    <td class="info">[student-awardee-file]</td>
    </tr>
    [/student-awardee-group]
    
    [student-authorization-group]
    <tr>
    <td class="title">Student Authorization File Name</strong></td>
    <td class="info">[student-authorization-file]</td>
    </tr>
    [/student-authorization-group]
    
    [oepm-report-group]
    <tr>
    <td class="title">OEPM Report File Name</strong></td>
    <td class="info">[oepm-report-file]</td>
    </tr>
    [/oepm-report-group]
    
    [final-report-group]
    <tr>
    <td class="title">Final Report File Name</strong></td>
    <td class="info">[final-report-file]</td>
    </tr>
    [/final-report-group]
    
    [matching-certification-group]
    <tr>
    <td class="title">Matching Certification File Name</strong></td>
    <td class="info">[matching-certification-file]</td>
    </tr>
    [/matching-certification-group]
    
    [invoice-group]
    <tr>
    <td class="title">Matching Certification File Name</strong></td>
    <td class="info">[invoice-file]</td>
    </tr>
    [/invoice-group]
    
    [other-group]
    <tr>
    <td class="title">Other File Name</strong></td>
    <td class="info">[other-file] [other-file-two] [other-file-three] [other-file-four]</td>
    </tr>
    [/other-group]
    
    [publications-group]
    <tr>
    <td class="title">Publications File Name</strong></td>
    <td class="info">[publications-file] [publications-file-two] [publications-file-three] [publications-file-four]</td>
    </tr>
    [/publications-group]
    
    <tr>
    <td class="title">Additional Information</strong></td>
    <td class="info">[additional-info]</td>
    </tr>
    
    </table>
    </div>
    Thread Starter graphicbob

    (@graphicbob)

    Hey, Jules, I fixed my problem. When I write the group and row as literally 1 line, it works properly:

    [student-tracking-group]<tr><td class="title">Student Longitudinal Tracking File Name</strong></td><td class="info">[student-tracking-file]</td></tr>[/student-tracking-group]

    instead of:

    [student-tracking-group]
    <tr>
    <td class="title">Student Longitudinal Tracking File Name</strong></td>
    <td class="info">[student-tracking-file]</td>
    </tr>
    [/student-tracking-group]
    
    Thread Starter graphicbob

    (@graphicbob)

    btw, this box needs to be check on the CF7 email page:

    Exclude lines with blank mail-tags from output

    Plugin Author Jules Colle

    (@jules-colle)

    good catch! I might add a note next to the checkbox to inform users about this. So your problem is solved then?

    Thread Starter graphicbob

    (@graphicbob)

    I thought I had solved it, but the problem persists. I find what is happening to be odd. I will show you everything I as I have it currently. Below, you’ll find my form code, my mail code, then what is coming through in the email. (both email 1 and email 2). To sum it up, the opening and closing tags of the group short code is being displayed in the emails if that group is being displayed. If the conditional field is left blank by the user, then the short code is not displayed in the email.

    Form Code:

    <div id="student-form" class="deliverable-form">
    <div class="form-col1">
    <h4 class="delivers">Program Information:</h4>
    <h3>University</h3>
    [select* your-university include_blank "Bethune-Cookman University" "Broward college" "Eastern Florida State College" "Eckerd College" "Embry Riddle Aeronautical University" "Florida A & M University" "Florida Atlantic University" "Florida Gulf Coast University" "Florida Institute of Technology" "Florida International University" "Florida State University" "Kennedy Space Center" "Orlando Science Center" "Space Florida" "The Astronauts Memorial Foundation" "University of Central Florida" "University of Florida" "University of Miami" "University of North Florida" "University of South Florida" "University of West Florida" "Other"]   
    
    [group other-affiliate]
    <h3>Type in name of organization</h3>
        [text other-organization]
    [/group]
    
    <h3>Task Order Number</h3>
        [text* order-number] 
    
    <h3>P.I. Name</h3>
        [text* pi-name]
    
    <h3>P.I. E-Mail</h3>
        [email* pi-number]
    
    <h4 class="delivers">Submitter Information </h4>
    
    <h3>Submitter's Name</h3>
        [text* submit-name]
    
    <h3>Email</h3>
        [email* submit-email]
    
    <h3>Contact Phone</h3>
        [text* submit-phone] 
    </div>
    
    <div class="form-col2">
    <h3>Type of Deliverable:</h3>
    <p style="padding:0;margin:0;margin-left:10px;">[checkbox* deliverable-options id:deliverables "Export Control Form" "China Assurance Form" "Student Longitudinal Tracking Form" "Student Awardee Questionnaire Form" "Student Authorization Form" "OEPM Report" "Final Report" "Matching Certification" "Invoice" "Other (i.e., images)" "Publications"]</p>
    
    [group export-control-group]
    <p class="upload-text">Accepted Export Control Form file types: PDF, DOC, DOCX</p>
    <div>[file export-control-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group china-assurance-group]
    <p class="upload-text">Accepted China Assurance Form file types: PDF, DOC, DOCX</p>
    <div>[file china-assurance-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group student-tracking-group]
    <p class="upload-text">Accepted Student Longitudinal Tracking Form file types: PDF, DOC, DOCX</p>
    <div>[file student-tracking-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group student-awardee-group]
    <p class="upload-text">Accepted Student Awardee Questionnaire Form file types: PDF, DOC, DOCX</p>
    <div>[file student-awardee-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group student-authorization-group]
    <p class="upload-text">Accepted Student Authorization Form file types: PDF, DOC, DOCX</p>
    <div>[file student-authorization-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group oepm-report-group]
    <p class="upload-text">Accepted OEPM Report file types: PDF, DOC, DOCX</p>
    <div>[file oepm-report-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group final-report-group]
    <p class="upload-text">Accepted Final Report file types: PDF, DOC, DOCX</p>
    <div>[file final-report-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group matching-certification-group]
    <p class="upload-text">Accepted Matching Certification file types: PDF, DOC, DOCX</p>
    <div>[file matching-certification-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group invoice-group]
    <p class="upload-text">Accepted Invoice file types: PDF, DOC, DOCX</p>
    <div>[file invoice-file limit:32mb filetypes:pdf|doc|docx]</div>
    [/group]
    
    [group other-group]
    <p class="upload-text">Accepted file types: PDF, DOC, DOCX, JPG, PNG</p>
    <div>[file other-file limit:32mb filetypes:pdf|doc|docx|jpg|png]</div>
    <div>[file other-file-two limit:32mb filetypes:pdf|doc|docx|jpg|png]</div>
    <div>[file other-file-three limit:32mb filetypes:pdf|doc|docx|jpg|png]</div>
    <div>[file other-file-four limit:32mb filetypes:pdf|doc|docx|jpg|png]</div>
    [/group]
    
    [group publications-group]
    <p class="upload-text">Accepted Publication file types: PDF, JPG, PNG</p>
    <div>[file publications-file limit:32mb filetypes:pdf|jpg|png]</div>
    <div>[file publications-file-two limit:32mb filetypes:pdf|jpg|png]</div>
    <div>[file publications-file-three limit:32mb filetypes:pdf|jpg|png]</div>
    <div>[file publications-file-four limit:32mb filetypes:pdf|jpg|png]</div>
    [/group]
    
    <div style="margin-top:20px;">[textarea additional-info placeholder "Comments about the submission, if any, and/or additional information, i.e., links to media, articles, etc"]</div>
    
    <h6>You may e-mail additional documents to the following address: </h6>
    <div><span>Dr.Jaydeep Mukherjee
    FSGC Director
    <a href="mailto:[email protected]">[email protected]</a>
    NASA Florida Space Grant Consortium
    PO Box 160650
    12354 Research Parkway
    Partnership 1 Building, Rom 218
    Orlando  FL, 32816-0650</span></div>
    
    </div>
    <div style="clear:both;text-align:center;">
    <p>[submit "Send"]</p>
    </div>
    </div>

    E-mail Code:

    <style type="text/css">.tg {border-collapse:collapse;border-spacing:0;border-color:#ccc;float:left;position:relative;top:0;} .tg td {width:50%;font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#fff;} .tg th {font-family:Arial, sans-serif;font-size:14px;font-weight:bold;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#f0f0f0;} td.title {font-weight:bold;background:#eee} h2 {border-bottom:2px dotted #999;padding-bottom:10px;} .tg .tg-yw4l {vertical-align:top} @media screen and (max-width: 767px) {.tg {width: auto !important;}.tg col {width: auto !important;}.tg-wrap {overflow-x: auto;-webkit-overflow-scrolling: touch;}}</style>
    
    <h2>Program Deliverables</h2>
    
    <div class="tg-wrap">
    <table class="tg">
    <tr>
    <td colspan="2" style="font-weight:bold;">Program Information</td>
    </tr>
    
    <tr>
    <td class="title">University</strong></td>
    <td class="info">[your-university]</td>
    </tr>
    
    [other-affiliate]<tr><td class="title">Other Organization</strong></td><td class="info">[other-organization]</td></tr>[/other-affiliate]
    
    <tr>
    <td class="title">Task Order Number</strong></td>
    <td class="info">[order-number]</td>
    </tr>
    
    <tr>
    <td class="title">PI Name</strong></td>
    <td class="info">[pi-name]</td>
    </tr>
    
    <tr>
    <td class="title">PI Phone Number</strong></td>
    <td class="info">[pi-number]</td>
    </tr>
    
    <tr>
    <td colspan="2" style="font-weight:bold;">Submitter Information</td>
    </tr>
    
    <tr>
    <td class="title">Name</strong></td>
    <td class="info">[submit-name]</td>
    </tr>
    
    <tr>
    <td class="title">Email</strong></td>
    <td class="info">[submit-email]</td>
    </tr>
    
    <tr>
    <td class="title">Phone Number</strong></td>
    <td class="info">[submit-phone]</td>
    </tr>
    
    <tr>
    <td class="title">Type of Deliverable</td>
    <td class="info">[deliverable-options]</td>
    </tr>
    
    [export-control-group]<tr><td class="title">Export Control File Name</strong></td><td class="info">[export-control-file]</td></tr>[/export-control-group]
    
    [china-assurance-group]<tr><td class="title">China Assurance File Name</strong></td><td class="info">[china-assurance-file]</td></tr>[/china-assurance-group]
    
    [student-tracking-group]<tr><td class="title">Student Longitudinal Tracking File Name</strong></td><td class="info">[student-tracking-file]</td></tr>[/student-tracking-group]
    
    [student-awardee-group]<tr><td class="title">Student Awardee Questionnaire File Name</strong></td><td class="info">[student-awardee-file]</td></tr>[/student-awardee-group]
    
    [student-authorization-group]<tr><td class="title">Student Authorization File Name</strong></td><td class="info">[student-authorization-file]</td></tr>[/student-authorization-group]
    
    [oepm-report-group]<tr><td class="title">OEPM Report File Name</strong></td><td class="info">[oepm-report-file]</td></tr>[/oepm-report-group]
    
    [final-report-group]<tr><td class="title">Final Report File Name</strong></td><td class="info">[final-report-file]</td></tr>[/final-report-group]
    
    [matching-certification-group]<tr><td class="title">Matching Certification File Name</strong></td><td class="info">[matching-certification-file]</td></tr>[/matching-certification-group]
    
    [invoice-group]<tr><td class="title">Matching Certification File Name</strong></td><td class="info">[invoice-file]</td></tr>[/invoice-group]
    
    [other-group]<tr><td class="title">Other File Name</strong></td><td class="info">[other-file] [other-file-two] [other-file-three] [other-file-four]</td></tr>[/other-group]
    
    [publications-group]<tr><td class="title">Publications File Name</strong></td><td class="info">[publications-file] [publications-file-two] [publications-file-three] [publications-file-four]</td></tr>[/publications-group]
    
    <tr><td class="title">Additional Information</strong></td><td class="info">[additional-info]</td></tr>
    
    </table>
    </div>

    Screenshot of e-mail:

    https://floridaspacegrant.org/mail-screen-shot.png

    If you could please review this and let me know what you think the problem might be. I have been looking for some kind of a syntax error, i.e., a missing closing tag, that could be cause something to be out of whack, but I am having no luck.

    Thanks, Jules!

    Plugin Author Jules Colle

    (@jules-colle)

    Hey Bob, could you also paste an export of the conditions please?

    Thread Starter graphicbob

    (@graphicbob)

    Sure Jules. Here it is below. BTW, I’m working on another form (more complicated than this one) and it is showing the same shortcode in the emails. Here are the conditions:

    if [deliverable-options] equals "Publications" then show [publications-group]
    if [deliverable-options] equals "Other (i.e., images)" then show [other-group]
    if [deliverable-options] equals "Invoice" then show [invoice-group]
    if [deliverable-options] equals "Matching Certification" then show [matching-certification-group]
    if [deliverable-options] equals "Final Report" then show [final-report-group]
    if [deliverable-options] equals "OEPM Report" then show [oepm-report-group]
    if [deliverable-options] equals "Student Authorization Form" then show [student-authorization-group]
    if [deliverable-options] equals "Student Awardee Questionnaire Form" then show [student-awardee-group]
    if [deliverable-options] equals "Student Longitudinal Tracking Form" then show [student-tracking-group]
    if [deliverable-options] equals "China Assurance Form" then show [china-assurance-group]
    if [deliverable-options] equals "Export Control Form" then show [export-control-group]
    if [your-university] equals "Other" then show [other-affiliate]
    Thread Starter graphicbob

    (@graphicbob)

    Did you get a chance to check this out?

    Plugin Author Jules Colle

    (@jules-colle)

    Hey Bob, not yet, sorry. I just arrived in SE Asia and I’m jet lagged way over my head. Catching up with some other work first.

    Thread Starter graphicbob

    (@graphicbob)

    Hey, Jules. How’s the trip? Business or pleasure?

    Plugin Author Jules Colle

    (@jules-colle)

    Hey Bob! It’s amazing, thanks! Pleasure mainly. I had a chance to look at your case and it all works great here. No shortcodes popping up at the top of the both mail 1 and mail 2. Could you set up a test site for me, where I can see the actual problem? Thanks.

    Thread Starter graphicbob

    (@graphicbob)

    Hey, Jules. Glad to hear your having a good time. My sister lived in Thailand for about 5 years, met and married someone there, and they have a few properties in and around Bangkok.

    Meanwhile, if I had an email address for you, I could add your as a BCC for both emails so you could see the results of filling out the form. Also, if I had and email address for you, I could add you as a user to the site.

    Funny thing is, I’m getting the same result on 2 sites. The common denominator is that they are both on my server. (and both created by me)

    Let me know if I can get an email address. You can email me at bob at switchcreatives dot com.

    Thanks!

    Plugin Author Jules Colle

    (@jules-colle)

    Hey I’ve sent you an email a couple of days ago, but no reply yet. Can you check your spam in case you haven’t received it already?

    Thread Starter graphicbob

    (@graphicbob)

    I did respond to your email (immediately, actually). I will send again shortly.
    Thanks!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Short Code showing in Mail’ is closed to new replies.