JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Hide empty fields in email notification and customize / add headersAsked by juliapei on September 22, 2015 at 10:58 AM
I have many fields that will probably remain empty and will need to remain hidden in the email notification. However, I would also need to customize the email form, but when I go to unlock the email form for customization, it tells me that Unlocking enables customization, but loses the ability to hide empty fields. Is there any way for me to customize how the fields appear and also hide any empty fields?
email notification hide empty fields and email
You may hide empty fields in the email notification by
1) press the PREFERENCE button
2) In the preference window, please go to the ADVANCE SETTING. You can enable to HIDE EMPTY FIELDS.
Please let us know if this helps.
Yes I am able to do this. However, I would also like the ability to customize the format of my email notification, and when I click "unlock data table", it tells me that it will lose the ability to hide empty fields. My question is, is there a feature that enables me to customize my email notification AND hide the empty fields, as it seems one must exist without the other.
Actually, you should be able to modify your email notification template to customize it the way you want it to look. At that point you can then go back into your form preferences and re-enable the feature for hiding empty fields.
It does that because this is the way it compares the notification setup since otherwise it would break your email notification since you are customizing it. This is the reason for the warning and the unlock first even though it can be re-enabled to apply it again. Alternatively, just lock it again. The warning you see about going back to the default just means that it will revert back to how you had it as if it was locked in the first place.
I have tested this for you to confirm it.
In this screenshot below there is no image even though the I've applied the hide empty fields.
In this screenshot I unlocked it, added and image, then re-locked it after adding custom image as a quick and easy test.
Here are the results I got after filling in all of the fields on this form and also after leaving one empty in which it works as expected.
In the first one you can see the checkbox option and in the second one I left those empty and they were hidden.
Both showed the Custom Image I added to do a quick and easy customization inside the email template to check it which means you can customize it then enable hiding empty fields.
Thank you for this very helpful demonstration. I am able to do it in the blue field, however, when I tried to edit the "question" and "Answer" part of it... deleting it, for example, it always reverts to the original content and format when I lock it again. Please let me know if this is something I am doing incorrectly.
Unfortunately it is not possible to edit the "question" and "Answer" section of email alert. If you edit and then lock the data table again, the whole section will revert to original state. Please check the screenshot below:
Unfortunately, there is no workaround to solve this issue. For the hide empty fields to work, the data table should be locked.