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.
Can I update a hidden field using Update a form field conditions?Asked by wsfarm on April 28, 2015 at 11:20 PM
Can I, in the Conditions Wizard / Update a form field value, update a field that is hidden?
I have three fields on my form, only one of which will be visible to the user depending on a previous choice. I would then like to copy their response to the relevant field into a fourth (hidden) field that will be used in reports rather than showing the original three fields only one of which will include data.
I have tried to set this up but my fourth field only seems to populate if it is visible. Is there a way to populate a hidden field?
Also, if a field is hidden (by hiding it in properties) can that field be shown in reports? It seemed to me that it could not.
My workaround was to hide it using a condition that was never met. Is there a better way?
Yes it is possible to achieve your requirement. You can add condition to update a value of the hidden field. Here are the steps you should follow:
#1. Add a normal text box field in your form.
#2. Hide it by clicking on the "Field Field" in the properties drop down.
When the form is submitted, the value you have set in the hidden field conditionally will be saved. This hidden field will also be displayed in the reports as well. I did test all these scenario and it seems to work as expected. Please check the screenshot below :
I would suggest you to test it yourself and get back to us if you have any questions.
Thank you Ashwin,
Not sure what I was doing wrong before but I have followed what you have suggested (that is what I thought I did before) and now it is working well.
Really appreciate your excellent service.
We're glad to know that the solution that Ashwin have provided worked well for you.
If in case you will be having any other concerns in the future, please feel free to let us know and we will be glad to help you.