Articles on: Marketing Automation

How do I pre-populate forms with contact data?

How do I pre-populate forms with contact data?



Whether you’re embedding an ActiveDEMAND form into a webpage or you’re using forms within ActiveDEMAND landing pages, here is a tip to create a better user experience – pre-populate select form fields with the user data.

Instead of the user being presented with a blank form, you can have the form include their name and email automatically making it easier, quicker and reducing the friction of completing the form.


A form that is not pre-populated


A Form That's Pre-populated

The following fields can be pre-populated with user data:

First name
Last name
Email Address
Phone Number

Pre-populating a form is simple. Here is how to do it:

In ActiveDEMAND, locate form you want to pre-populate. This could be a web form on a form on a landing page.
Enter the edit mode of the form.
Add the default values to the respective fields

Field: First name
Value: %CONTACT.FIRST_NAME%

Field: Last name
Value: %CONTACT.LAST_NAME%

Field: Email
Value: %CONTACT.EMAIL.EMAIL_ADDRESS%

Field: Phone Number
Value: %CONTACT.PHONE.PHONE_NUMBER%

Save the fields and then save the form.
In the event you are editing a web form and not a landing page form, you will need to re-export the web form to the web page that hosts the form.

Why doesn't my form pre-populate?

In order to pre-populate a form, the user will have to be a contact within your ActiveDEMAND account and have a web cookie enabled. If these conditions don’t exist, the form will not pre-populate. When user data is not available, the form will remain blank.

Note: ActiveDEMAND has no way to pre-populate static html forms that are embedded on a website. The only forms that ActiveDEMAND will pre-populate are those that are embedded on a WordPress website using the shortcodes, using the div export, or if the form is on an ActiveDEMAND landing page.

Updated on: 27/10/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!