Foxcolab
Skip to content

Hidden fields in Forms: capture values from the link

Add hidden fields to a Foxcolab Forms form to record where each response came from, such as utm_source=newsletter, then filter, export, recall or branch on those values.

Updated 2 min read

In short

Hidden fields in Foxcolab Forms save a value from the form's link with each response, without showing a question. Add one from the question list or the Form panel, name it, such as utm_source, and publish. Then share links like ?utm_source=newsletter. Each value appears in Results, filters and exports, and can be used in logic and recalled in text. In encrypted forms it's sealed with the answers.

Key takeaways

  • Add a Hidden field from the question list, or with + next to Hidden fields in the Form panel.
  • The name you give it is the link parameter. A field named utm_source reads ?utm_source=newsletter.
  • Select Publish changes before you share links, so the live form knows the new field.
  • Values show as columns in Results and can be filtered, exported, used in logic and recalled with {{.
  • Anyone can edit a link, so never use a hidden field for anything that must be trusted.

Last reviewed 5 December 2026

Hidden fields in Foxcolab Forms save a value from the form's link with every response, without asking the respondent anything. Share ?utm_source=newsletter in your newsletter and ?utm_source=instagram on Instagram, and Results shows which link each person used. In an encrypted form, the value is saved inside the response, which is end-to-end encrypted on the respondent's device, so Foxcolab can't read what was submitted.

Add a hidden field#

  1. Open the Form panel

    In the Build tab, click an empty spot on the canvas. The Form panel opens on the right.

  2. Add the field

    Next to Hidden fields, click + (Add hidden field). You can also pick Hidden field ("Capture a value from the link") from the Advanced group of the question list.

  3. Name it

    Type the name of the link parameter, such as utm_source or team. Letters, numbers, _ and - work, and other characters turn into _.

  4. Publish

    Select Publish changes. The live form only reads hidden fields that have been published.

A new hidden field starts as source. Add as many as you need, one per parameter.

Add the parameter to the end of your form's link, after a ?. Join several with &:

Text
https://forms.foxcolab.com/f/team-survey?utm_source=newsletter
https://forms.foxcolab.com/f/team-survey?utm_source=instagram&utm_campaign=diwali

Use your own form's link, shown as Form link in the Share tab. If a parameter appears twice, the first value counts, and a value can be up to 2,000 characters long.

For an encrypted form, the safest way is the Prefilled link card in the Share tab. Pick the field, listed as "Hidden: utm_source", and type the value. The builder puts it after the # sign, as in #p.utm_source=newsletter. Browsers never send that part to a server, so the value reaches Foxcolab only inside the encrypted response. A value after ? also works, but it travels to Foxcolab's servers with the page request, like any web address. See Share a form: link, QR code, embed and prefill.

See the values in Results#

Each hidden field gets its own column in Results, named after the field. You can also:

  • filter responses by it: in the filter, look under Hidden fields,
  • see it on a single response under Hidden fields & variables,
  • keep it in downloads by leaving Hidden fields on in the export's Include options.

Details are in View, filter and export form responses.

Use the values in the form#

  • Logic: in the Logic tab, pick a hidden field in a condition, such as "when team is sales, jump to the Sales page". See Use form logic, calculations and multiple endings.
  • Recall: type {{ in a question or the ending and pick the hidden field to show its value, such as "Thanks for joining from {{hidden:utm_source}}". You can recall it in a redirect link too, but the value then goes to that website, so recall only labels you're happy to share. See Customize the thank-you screen in Foxcolab Forms.

Things to know#

  • Anyone can edit a link. Respondents don't see the field, but they can read the value in the link and change it. Use hidden fields for campaign names and similar labels, never for prices, discounts or access.
  • Embedded forms don't read the page's address. A form embedded on your website reads only its own link, so parameters on the surrounding page aren't passed in.
  • Renaming changes the parameter. Earlier values stay in the same column, but old links stop filling it in. Removing a hidden field removes its column from Results.
  • Keep personal details out of links. Links end up in browser history and get forwarded. Don't put an email address or a name in a parameter. Ask a visible question instead.

Frequently asked questions

Do hidden fields work on an embedded form?

The embed reads only the form's own address, so parameters on the page around it aren't passed in. To tell embeds apart, make a separate copy of the form for each page, or ask a visible question.

Can respondents see or change a hidden field?

The field isn't shown in the form, but its value sits in the link, so anyone can read it or change it before opening the form. Use hidden fields for things like campaign names, never for prices, discounts or anything that grants access.

What happens if I rename a hidden field?

Earlier responses keep their values in the same column under the new name. Links that use the old name stop filling it in, so update them. Removing a hidden field removes its column from Results and exports.

Are hidden field values encrypted?

In an encrypted form, yes. The value is sealed with the answers on the respondent's device. For a link that never sends the value to Foxcolab at all, build it with Prefilled link, which puts values after the

Did this answer your question?

One click, no account needed.

Still need help?

Our support team can take it from here.

Jump to