- MaxAsked on December 07, 2017 at 08:22 AM
Is there any way to prepopulate hidden input fields programmatically?
I want to prepopulate forms with values that should not be possible to change by the user. Using URL params is therefore not an option, since one can easily change those.
- JotForm SupportKiranAnswered on December 07, 2017 at 10:45 AM
Yes. You may prepopulate the hidden field with a value using the parameters in the URL. Please refer to the guide below that can help you with this.
Hope this information helps!
- maxhoffmannAnswered on December 07, 2017 at 11:06 AM
Thanks for your answer. As mentioned using URL parameters is not an option since anyone can change these. Is there any other way to prepopulate fields?
- JotForm SupportNik_CAnswered on December 07, 2017 at 12:44 PM
You can try using conditional logic, for example in your form https://www.jotform.com/build/73403154860351 you can create a condition that will prefill field if name field is filled:
Now, I'm not sure what is the workflow you're trying to achieve, so feel free to share and we will provide the steps with conditional logic (if it is possible).