Skip to main content

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.