What URL prefilling does
You can pass field values as query parameters in your form URL. When the form loads, those values are automatically filled into the corresponding fields. Respondents can still change the values unless the fields are set to read-only. This is useful for:- Personalizing forms sent to known contacts (pre-fill their name and email)
- Tracking which campaign or source a respondent came from
- Pre-selecting a product, plan, or option based on where the respondent came from
- Passing internal IDs from your system into the form
URL format
Add query parameters to your form URL using theprefill_ prefix followed by the field name:
prefill_* parameters from the URL, strips the prefill_ prefix, and resolves field names to Airtable field IDs on the server. The matched fields are pre-populated when the form loads.
Pre-fill tab in the Share view
The Pre-fill tab in the Share view (accessible from the Share tab in the form editor) provides a ready-to-use Airtable formula for generating per-record edit links:Supported field types for prefilling
| Field type | Notes |
|---|---|
| Single line text | Value used as-is |
| Multiline text | Value used as-is |
| Value used as-is | |
| URL | Value used as-is |
| Number / Currency / Percent | Pass a numeric value |
| Single select | Pass the exact option name (case-sensitive) |
| Date | Pass in YYYY-MM-DD format |
| Checkbox | Pass true or false |
| Linked record | Pass the Airtable record ID (starts with rec) |
Example
Pre-fill a contact form with a name and email from a CRM link:Prefilling vs read-only
By default, respondents can override pre-filled values. If you want to lock a value (for example, an internal tracking ID that the respondent should not change):- Set the field’s Default value to the URL parameter using a variable reference
- Enable Read-only on the field
Conflict with default values
If both a URL parameter and a field’s Default value setting are provided for the same field, the URL parameter takes precedence.Common questions
Are URL parameters visible to respondents?
Are URL parameters visible to respondents?
Yes. Query parameters are visible in the browser address bar. Do not pass sensitive data (passwords, private tokens) via URL parameters.
Can I pre-fill a select field with a value that doesn't exist in the list?
Can I pre-fill a select field with a value that doesn't exist in the list?
If the value doesn’t match an existing option, the field stays empty. The value must exactly match an existing option name.
Can I use URL parameters with embedded forms?
Can I use URL parameters with embedded forms?
Yes. Append the query parameters to the form URL when building your embed code’s
src attribute.How do I encode spaces and special characters?
How do I encode spaces and special characters?
Use standard URL encoding. Spaces can be written as
+ or %20. Other special characters should be percent-encoded (@ = %40, # = %23, etc.).