Pre-fill a form from an email campaign
You can pre-fill a form from an email campaign by passing what you already know about each contact in the form link.
There are two parts. A hidden field reads the link, and a visible question shows the value.
Add a hidden field
- Open your form's Settings tab and find Hidden Fields under General.
- Click Add Hidden Field, then enter a Field Name, such as
email. Start the name with a letter. - Add a matching parameter to your form link. For a field named
email, you'd use?email=jane@example.com.
A name can hold lowercase letters and numbers, plus underscores. If you type capitals or spaces, Makeform lowercases them and turns each space into an underscore.
Makeform ignores any parameter that doesn't match a hidden field you've declared.
Keep each value under 1,000 characters. Don't repeat a parameter in the link, or it's dropped.
In your email platform, put the contact's merge tag where the value goes in your link. That platform's help has the tag syntax.
Makeform has no native connection to Mailchimp or HubSpot that fills in contact details for you. The same goes for ActiveCampaign.
Show the value in a visible question
- In the form builder, select a question and find its Default Value.
- Type
@to insert your hidden field's value. When your form loads, it appears in that question.
You can set Default Value on these question types:
- short text
- long text
- phone
- link
- number
- currency
- range slider
- opinion scale
- rating
- date
- time
- single select (dropdown)
You can't set it on multiple choice or file upload questions.
You also can't fill a visible question by using its own name as a URL parameter, so pass the value through a hidden field and Default Value instead.