- wsfarmAsked 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?
- JotForm Supportashwin_dAnswered on April 29, 2015 at 05:01 AM
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.
- wsfarmAnswered on April 29, 2015 at 12:48 PM
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.
- JotForm SupportMike_GAnswered on April 29, 2015 at 02:48 PM
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.