Hidden fields can be used to include data that you already have to your form URL and personalise your respondent's form experience or give you better insights into your results. Some use cases for hidden fields:
- Tag the Traffic source of your respondent (social media, triggers on your website or other)
- Pass on information about your respondent to your responses (like name or email address)
- Mention information in your form like the name of your respondent using answer piping
You can retrieve the hidden field data and responses on your responses page.
Create a hidden field:
Click '+' or type '/' to insert an input block, search for 'Hidden Fields' and insert the Hidden Fields block:
Add the hidden fields you want to pass on to your form. You can add as many hidden field blocks as you like. If you want to add name and the traffic source of your respondent, add 2 hidden fields block and name them for example 'name' and 'ref'.
Finish your form and publish. Find your URL in the share tab.
When you share the form for example via email and you want to link the name of the respondent to the answers of the form, add the parameters and corresponding values to your URL: ?name=value'&ref=value
For example: https://tally.so/r/nPdDxn?name=marie&ref=email
You will find the hidden fields and corresponding answers in the 'Responses' tab.
Mention a hidden field
Read more about how to mention hidden fields in your form using answer piping.