PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Notification emails - text to appear only if data is submitted for certain field

  1. Hi,

    I have a form with a number of optional fields and a number of fields that utilize conditional logic.
    I have set up my admin notification emails so that all the values are preceded by text which explains what they are.

    Example (within my notifications to administrator interface in message section)

    Size: {Size:3}
    Full Bleed: {Bleed:4}
    Mail Fulfillment: {Mail:5}

    When all fields have been completed by the user it looks good:
    Size: 5 X 7
    Full Bleed: Yes
    Mail Fulfillment: No

    But when some of these fields are left blank the email is full of text with no values assigned to it.
    Full Bleed: Yes
    Mail Fulfillment:

    THis is fine in terms of getting the right information but there is usually so much text with blank space after it that the email is a bit confusing and messy looking.

    Is there a way to make the descriptive text appear only when the value that corresponds to it has been submitted?
    My desired version of previous example:
    Full Bleed: Yes

    I have tried adding this text to values in the form editor but that doesnt display in the notification emails. I have also tried inserting text within { } in the message section of the administer notification page but I havent been able to get that to work.

    Is there a solution to this problem?


    Posted 11 years ago on Sunday April 10, 2011 | Permalink
  2. No, there is no way to make the text appear conditionally. Currently conditional output isn't supported. Whatever is in the notification message will be output.

    This is why we have the {All_Fields} merge code in the Insert Form Field drop down. It is executed by code and only outputs fields that have values formatted neatly in a table.

    Posted 11 years ago on Monday April 11, 2011 | Permalink