# Hidden fields

Store a URL parameter or a static value with each response.

A hidden field does not show on the form. It still saves with the response.

Set the source to URL param or Static. URL param reads a query string key. Static stores a fixed value on every submit.

*Hidden field set to a URL parameter named ref.*

Use a hidden field when you already know a value, such as:

- A campaign or partner code on the link.
- A static source name that never changes.

> Hidden fields store data that respondents do not see. Visible questions can also prefill from the same URL keys. There is no answer piping. Put campaign values here, then read them in Responses.

How to add one:

1. Open the form editor and click + Insert block, or type /hidden.
2. Pick Hidden fields from the Advanced group.
3. Choose URL param or Static. For a link such as /f/your-form-id?ref=newsletter, set the param to ref.

*Insert menu open on Hidden fields in the Advanced group.*

```
/f/your-form-id?ref=newsletter
```

The form reads that value from the page URL, including when the form is embedded.

You will find this block in the Advanced group. See Question types for the full catalog.

## Sitemap

- Home: https://requestforms.io/
- Website forms: https://requestforms.io/website-forms
- Pricing: https://requestforms.io/pricing
- Docs: https://requestforms.io/docs
- Blog: https://requestforms.io/blog
- Tools: https://requestforms.io/tools
- OpenAPI: https://requestforms.io/openapi.json
- llms.txt: https://requestforms.io/llms.txt
- XML sitemap: https://requestforms.io/sitemap.xml
