How to Pre-populate Forms with Contact Data
Whether embedding an Enquire MAP form into a webpage or if using forms within Enquire MAP landing pages, a tip to create a better user experience is to pre-populate select form fields with user data.
Instead of the user being presented with a blank form, the form can automatically include their name, email address, and other personal information to improve the end user experience.
In the image of the web form above, the following fields are pre-populated with following user data:
Steps to adding the data to a form
Go to the Enquire MAP dashboard on left hand side menu to select Assets then Web Forms. From the existing list of forms, select the edit icon to enable editing the form.
Add the default values to the respective fields. Save the fields and then save the form.
Field Value First Name %CONTACT.FIRST_NAME% Last Name %CONTACT.LAST_NAME% %CONTACT.EMAIL.EMAIL_ADDRESS% Phone Number %CONTACT.PHONE.PHONE_NUMBER%
Please note: In the event of editing a web form and not a landing page form, re-export the web form to the web page that hosts the form.
Useful Tip: You can view a glossary of popular dynamic/system fields that can be used in these instances by viewing this article: Glossary: Dynamic and System Fields.
FAQ & Troubleshooting
In order to pre-populate a form, the user will have to be a contact within your Enquire MAP 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.
Please Note: Enquire MAP cannot pre-populate static HTML forms that are embedded on a website. The only forms that Enquire MAP can only pre-populate forms that are embedded on WordPress (www.wordpress.com) using short codes (i.e: </> div export) or if the form is on an Enquire MAP landing page.