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.

Possible to edit the notification email? I have conditional settings enabled

  1. I have a form that has a drop down to select which department to send the email to, however since some fields don't show in each department, there is a lot of blank titles in my notification e-mails. Is there a way to have Gravity Forms only e-mail the fields that are filled out on the form, and not include the blank ones? Here is a screen shot of what I mean: http://i.imgur.com/gfOXP.jpg

    Posted 13 years ago on Thursday August 4, 2011 | Permalink
  2. You can use the {all_fields} helper or you can create your own email body. The problem is you can't conditionally show the title only if there is a value.

    However, I recently worked up something for another customer. Read about it here:
    http://www.gravityhelp.com/forums/topic/all_fields-is-there-a-way-to-control-how-this-looks-in-an-email#post-31569

    Please ask about it if you have any questions.

    In your case, since you just want to NOT display the titles for fields which are empty, there is probably an efficient way to loop through all the values, and if it's blank, just don't output the title. In the example above, it was more designed to display differently, but still don't output the title if there is no data.

    Posted 13 years ago on Thursday August 4, 2011 | Permalink