Autoresponder: editing email templates with table

  • mmia
    Asked on June 24, 2019 at 1:03 PM

    I'm trying to re-organize the way the information in the form below is listed in the email confirmation. I want to break it out by participants registered, and then payment information.

    When I insert a table row/column with Payment Information header into the HTML, it does not return the inserted row/column in the email.

    Is there a specific HTML tag I can use to make that appear? I've tried a plain tr/td without any IDs or class, and

    <tr id="999" class="questionRow">
    <td colspan="2" id="value_999" class="valueColumn">
    <h3>Payment Information</h3>
    </td>
    </tr>

    I have also tried to create two different tables, but that renders all the possible fields a person could have filled out, but leaves them blank in the email. I only want completed fields to show up in the email confirmation, so that solution does not work.

    Jotform Thread 1868030 Screenshot
  • John Support Team Lead
    Replied on June 24, 2019 at 3:09 PM

    You can do this using the Table properties of the table in the email template.

    In the email editor, make sure first that your cursor is position within the table so that you can access the properties. Once you access the table properties, you will see the option for border size and border color.

    Please see below demo:

    1561402942edit email template Screenshot 10

    I have also tried to create two different tables, but that renders all the possible fields a person could have filled out, but leaves them blank in the email. I only want completed fields to show up in the email confirmation, so that solution does not work.

    I believe that you are referring to "Hide Empty Fields" option. Please note that when this option is enabled, you should use the default data table in your email notification and autoresponder email for the "Hide Empty Fields" feature to work. You can still add some text and new rows but you should keep the labels and fields tags of the questions intact. If you delete the whole data table then create your own layout, then the hide empty field feature will not work.

  • mmia
    Replied on June 24, 2019 at 3:28 PM

    Hi John,

    That's not quite what I'm looking for. Let me try again. You'll see in the picture below that the confirmation email returned the fields I entered. However, it did not add the words "Payment Information" between the ADA/Dietary restrictions field and "Did you pay online".

    1561404309RegistrationConfirmation Screenshot 10

    But "payment information" does show up in the test email

    1561404154TestEmail Screenshot 21