If a form is already created using the Typeform portal and then I want to update the hidden fields for that form. How can we do that?
How to add Hidden fields for an existing form using an API.
Best answer by picsoung
Hey
Are you creating forms via the APIs too? or manually in the builder?
If you do it via API, you can also specify hidden fields at the moment of creation under the hidden property.
"hidden": [
"user_id",
"email",
"another_hidden_field"
]
And via the builder, if your forms are similar, hidden fields should be copied when you duplicate a form.
If you want to change the value of a hidden field, so need to make an API call. Just change it’s value in the url
examples:
https://form.typeform.com/to/form1234#email=nico@lol.com
https://form.typeform.com/to/form1234#email=pedro@jojo.com
Hidden fields work as a “catch all”, we will grab the value passed in the url and store it with the answers submitted in the form.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.