What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
Show hidden field in email submissionAsked by kauseway on October 03, 2016 at 11:21 AM
I have a field that sometimes is shown and sometimes is hidden. I want it to show on the email submission form so we can see it, every time. Any way to do that?
It is the promo code field
hidden show hidden field email in
If the field is filled, it should be shown in the email notification regardless of whether or not it is shown in the form. If there is something entered in that field, it should be showing in the email even when hidden.
right. but it isnt.
I cloned your form to test it and all of the hidden fields in the form that were filled are showing in the email notification:
Under what conditions is the promo code field being hidden? The other fields in the form that are currently hidden were included in each test I made. Are there certain circumstances where those are not included as well? Let us know what you can and we will be happy to have another look.
type in 25friend in promocode. It causes it to be hidden and then doesnt show up. I would like for it to show up.
I can see what you're referring to, but this currently happens because the form is set up to clear hidden fields when the form is submitted, I would suggest you to set the form to do not clear hidden fields, to do it click on the preferences icon:
Then go to the advanced tab and click on the show more button:
Then set the field "Clear Hidden Field Values" to do not clear:
Once you do this the field will be included in the email notification even when it is hidden:
Hope this helps.