ClickDimensions Form Capture records allow you to integrate an existing form with your CRM. Before integrating your form, please make sure that you have read this article. There are a few things that you need to make sure are in place before going through the steps below.
In this article we will cover how to create a Form Capture record, adding Form Capture fields, and taking the final steps in integrating your web form to CRM.
Step 1: Create a new Form Capture record
Go to Settings > ClickDimensions > Form Captures
Create a New Form Capture record.
In the new Form Capture record, enter the following fields:
- Name: required This is the name of your form.
- Campaign: You can associate a Form Capture record with a Campaign record in CRM. If you do associate this Form Capture with a Campaign record, you will be able to see the Posted Form records in the Campaign record.
- Visitor Entity: When a form is submitted, ClickDimensions checks the email address and looks for a Contact or Lead in your CRM who contains the same email address. If ClickDimensions does not find a match, ClickDimensions will create a new record for you. The Visitor Entity lets you choose which entity you want ClickDimensions to create – Lead or Contact.
- Redirect on Error: required If an error occurs, such as the visitor not filling in a required field, the visitor is redirected to the URL entered in this field. It is a good idea to have a dedicated page for an error page so you can give the visitor proper feedback, such as forgetting to fill in required fields, etc…
- Redirect on Success: required When the form is submitted successfully, the visitor is redirected to the URL entered in this field. This page should give the visitor confirmation that the form was successfully posted.
After entering the necessary fields, click Save.
Step 2: Add the Form Fields
Now, we need to tell CRM, which fields will be in this form. To do that we are going to add Form Field records as a Form Capture Field. On the left navigation panel, click on Form Capture Fields.
In the top left corner, click on Add New Form Capture Field.
A new Form Capture field record will open. Enter the following fields:
- Form Field: required Use the look up field to select the Form Filed record you want to add to the form.
- Label: Enter the Label for your field. For example, if this was your first name field, you would enter something like First Name.
- Override in CRM: This field determines if the information entered in the form will replace any information that exists in CRM. For example, you have mapped your Last Name field to the Last Name field in a Contact record. If you choose Yes for Override in CRM, when someone submits the form, anything they enter in the Last Name field in the form will replace what is currently in the Last Name field in the Contact record.
- Required: This will make the field required. If you do select Yes, we recommend you use JavaScript to alert the visitor they forget to fill out a required field.
Once you’ve filled out all of the necessary fields, click Save, and repeat for the rest of the fields.
After adding all of the Form Capture fields, you will see a list of the form fields.
Step 3: Connecting the Form Capture record with your HTML Form
After saving your Form Capture record, you’ll notice that the Form Action/Location filled contains an URL. This is the action URL that you will place in the HTML form.
Copy the URL in the Form Action/Location field
and paste it as the action URL in your HTML.
Tip: If you wish to programmatically post forms through ClickDimensions to your CRM – for example, if you have an existing form that sends data to another database and you need to continue to do that in addition to posting to CRM - check out the examples of using custom code to post forms on our community forum: http://help.clickdimensions.com/forum/?vasthtmlaction=viewtopic&t=5.0
That’s it! Your form is now integrated. You can now submit information directly into your CRM.