Unbounce Answers/Integrations/General

Field Mapping Custom Fields

Aaron Oman
posted this on October 06, 2011 10:12 AM

Overview

Want to combine multiple form fields into a single value?  Now you can!

First you'll want to familiarize yourself with our field mapping support page.

From the field mapping configuration page you'll see the following button:

field_mapping_add_custom_field.png


Click on this to add a new field map row:

field-mapping-custom-field-row-empty.png

 

You can enter any text here, and that text will be sent exactly "as is" to the selected integration field.  One useage of this feature is the ability to specify a unique page identifier (to supplement the Page ID) to differentiate between leads from different pages.

That's fine and dandy, but the real power of custom fields comes from the ability to combine form fields together.

 

Including Form Fields

You can include the value of a form field inside your custom field by specifying a form field name in parentheses:

field-mapping-custom-field-first-name.png

 

Assuming you have a form field with the name "First Name", then this value will be substituted directly in during a form submission.

 

For instance, if you have the following form submission:

field-mapping-form-filled-out.png


And the following custom field:

field-mapping-custom-field-first-name-extra-text.png


When the above form submission is handled by Unbounce,"Aaron is super cool" (without the quotes) will be sent in place of the custom field you just specified.

 

Combining Form Fields

Since custom fields are simply text strings, you can include as many form fields as you like:

field-mapping-custom-field-row.png


As long as the name in parentheses matches exactly with a form field, then the form field value will be substituted into the custom field during a form submission.

This is essentially the same as hour our WebHook parameter replacement works.

With the custom field "(First Name) (Last Name)", the value: "Aaron Oman" would be sent, using the above form submission.