Hidden values are form-level keys that accept values from URL parameters or embed code. Respondents do not see them as questions, but Fomr can use them in form text and store them with each submission.
Use hidden values for campaign tags, customer IDs, source tracking, or other context you already know before someone opens the form.
Add hidden value keys
Section titled “Add hidden value keys”Declare each key before you pass values into a link or embed.
-
Open a form in the editor
-
Click Hidden values in the editor dock
-
Enter a key, such as
utm_campaignorcustomer_id -
Click the add button
Keys must start with a lowercase letter. Use only lowercase letters, numbers, dashes, and underscores.
To give a key a default value, used when the link or embed doesn’t pass one, or to delete the key, click the … button on its row.
Pass values in a share link
Section titled “Pass values in a share link”After you declare keys, the Share panel can build links with values attached.
-
Open Share
-
Fill in the fields under Hidden values
-
Copy the generated link
-
Share that link with the audience that should carry those values
A link with a hidden value looks like this:
https://fomr.io/s/example?utm_campaign=spring_launchOnly declared keys are captured with responses.
Pass values in an embed
Section titled “Pass values in an embed”Hidden values can also travel through your embed code.
-
Open Configure > Add to website
-
Choose an embed type
-
Turn on Hidden values in the embed options
-
Fill in the values and copy the embed code
Standard and fullscreen embeds add values as query parameters on the iframe src, for example https://fomr.io/s/embed/YOUR_FORM_ID?utm_campaign=spring_launch. Popup embeds add them as data-fomr-param-KEY="value" attributes on the button that opens the popup, for example data-fomr-param-utm_campaign="spring_launch". Only declared keys are used.
The embed script also passes the URL parameters of the page where the form is embedded, so a visitor who arrives at yoursite.com/pricing?utm_campaign=spring_launch brings that value into the form automatically. If the embed code sets the same key, its value wins.
Use hidden values in form text
Section titled “Use hidden values in form text”Declared hidden values appear in the same @ menu as answer pipes. Type @ in supported editable text, then choose a key from the Hidden values group.
If a hidden value might be missing, click the pipe token and add fallback text so the published form still reads naturally.
Use hidden values in logic
Section titled “Use hidden values in logic”Hidden values can steer your form, too. A conditional logic rule can check a hidden value, for example to show a partner-only question or to jump straight to a partner page when a link carries source=partner. Calculated values can also use hidden values in their formulas.
Responses and exports
Section titled “Responses and exports”Captured hidden values appear as response columns, after your questions and Calculated values. Response details list them last, under a Hidden values heading. CSV exports include them, and Google Sheets workflows can use the same readable labels as the Responses table.
Publishing checks
Section titled “Publishing checks”Fomr checks hidden value references when you publish. If form text references a hidden value key that is no longer declared, publishing shows an issue so you can fix it before respondents see the form.