Hidden Fields
Hidden Fields are custom variables you can use to automatically fill in information when someone opens your form. You can pass these values through the form URL, invite links (via API), webhooks, or other integrations. Theyβre helpful for tracking user details, capturing marketing data (like UTM tags), or sending information from external systems directly into the form without asking the user to enter it manually.
π You are here:
Form > Share > Advanced Settings > Hidden Fields
π§ What Are Hidden Fields?β
Hidden fields are variables you define that can be auto-filled when the form is accessed via a URL. They are not visible to the end user but are submitted along with the form response.
For example:
If you define a hidden variable userId
, you can pass it via URL like so:
https://poll.pe/abc123?userId=789
β Adding Variablesβ
- Enter a variable name in the "New variable name" input.
- Click the β+ Addβ button.
- You can add multiple variables.
- To remove a variable, click the β icon next to it.
β Variable names must be written in lower-case letters and use underscores for spaces.
π Use Casesβ
- Track source of form submissions (e.g.,
utm_source
,campaign
) - Pass known user data (
email
,userId
,referralCode
) - Create personalized form logic based on passed values
π Example URLβ
https://poll.pe/xyz123?ref=linkedin&utm_campaign=product_launch&userId=5567
All hidden field data will be saved along with form responses and can be viewed in the results dashboard.