Add a Contact Form

Overview

Use the Contact Form widget to add a complete web form to your Website. The contact form allows you to provide visitors with a variety of input areas; specifically text, dropdown, radio buttons, checkboxes, date, time, email and phone numbers. You can use the form for email newsletter opt-ins, customer questions or simply to gather feedback from your Site visitors.

Guide

1. Add the contact form widget onto your Website Builder. To learn more about adding widgets to your Website, see Adding Widgets. Once the widget has been placed, the Content Editor will appear.

2. Decide what information you'd like to get from your visitors and then modify the existing field by clicking the name of the field.

3. Add new fields by clicking the Add field button.

addacontactform_1_en-US.png

4. Click the Submission tab. In the Submission recipients section, set the email address and subject for receiving form responses. addacontactform_2_en-US.png5. In the Submission actions section, set the confirmation and error messages to display when visitors submit the form. Use the Rich Text Editor to add colour, emphasis (bold, italics and underline) and bullets to text in the message boxes.

addacontactform_3_en-US.png6. In the Tracking section, add a tracking code to your form. If you have AdWords or any other conversion code, you can paste this code here. addacontactform_4_en-US.png

Integrations

You can extend the reach of your contact form, by integrating it with Google Sheets, Mailchimp Constant Contact or a third- party application using Webhooks.

Google Sheets integration

Have contact form submission data added instantly to a spreadsheet in Google Sheets. All contact fields in the form will be populated into the spreadsheet, including a timestamp of when the form was submitted.

Steps

Click the Integrations tab in the contact form’s general settings area.
addacontactform_5_en-US.png

Expand the Google Sheets option and click SIGN IN WITH GOOGLE.

addacontactform_6_en-US.png

Click Allow to grant permissions to connect to your Google account. If your computer is connected to multiple Google accounts, choose the one you’d like to connect to this form.

addacontactform_7_en-US.png

Choose if you want to add data to an existing spreadsheet or to a new one.

addacontactform_13_en-US.png

Select the spreadsheet to which you’d like to submit the form data. You can select the spreadsheet from a list or use the search bar to find a specific sheet.

addacontactform_9_en-US.png

Additional considerations

  • If you have multiple forms on the site, you can connect each one to a different spreadsheet including spreadsheets in different Google accounts.
  • You can also connect a couple of forms to the same spreadsheet. In this case make sure that the fields and order in the form are identical to fit the info submitted.
  • Submitting form data to a Google spreadsheet does not prevent you from downloading the data as a CSV file or from receiving form submission emails.

MailChimp integration

MailChimp is a great tool for the distribution of email campaigns, newsletters and so on. By using the new form integration, site owners can manage contact lists of potential clients (site visitors) by collecting email addresses, which are submitted to the form and sending them automatically to MailChimp.

You must have a MailChimp account. Once you have an account, create a mailing list in your MailChimp account where the contact details will be collected.

Steps

Click the Integrations tab in the contact form’s general settings area.

addacontactform_10_en-US.png

Expand the MailChimp option and choose CONNECT TO MAILCHIMP.

addacontactform_11_en-US.png

Sign in with your MailChimp credentials.

addacontactform_12_en-US.png

Select your MailChimp contact list from the drop-down menu.

addacontactform_18_en-US.png

Configure your form fields. In addition to the email address, the contact can send first name and last name fields to MailChimp automatically. You must setup the email / first name / last name fields within the form.

addacontactform_14_en-US.png

Constant Contact integration

This is a similar integration to MailChimp but allows site owners to create mailing lists in their Constant Contact account.

You must have a Constant Contact account. Once you have an account, create a mailing list in your Constant Contact account where the contact details will be collected.

Steps

Click the Integrations tab in the contact form’s general settings area.

addacontactform_15_en-US.png

Expand the Constant Contact option and choose CONNECT TO CONSTANT CONTACT.

addacontactform_16_en-US.png

Sign in with your Constant Contact credentials.

addacontactform_17_en-US.png

Select your Constant Contact list from the drop-down menu.

addacontactform_18_en-US.png

Configure your form fields. In addition to the email address, the contact form can send first name, last name and phone number to Constant Contact automatically. The user is required to set up the email / first name / last name fields within the contact form. Email address and text message are added by default.

addacontactform_19_en-US.png

Webhooks integrations

Numerous online and cloud services offer integrations via a path called WebhooksWebhooks send notifications to a specific web address called the endpoint URL. You can connect the contact form to send an event when the contact form is submitted.

To connect the contact form to another service using webhooks, you simply need to create a custom endpoint URL with your desired service and paste it into the Webhooks integration field in the contact form. Once you've added a webhook URL, the contact form will send a POST request to the endpoint with the data in the body in JSON format, when the contact form is submitted on the website. Here's an example of the JSON data that will be sent:

{"Submission Date":"06/02/2016 10:23:54","Form Title":"Contact Us","Name":"John Smith","Email":"test@example.com","Phone":"(555).555.1212","Message":"Webhook Form Submission!"}

Please note: although “Submission Date” and “Form Title” will always be provisioned, the other fields (field_name : value) are based on the fields which are configured in the form.

Creating an Endpoint URL

Endpoints are set up on third- party services (e.g. Zapier or Slack) or another server that you control. These endpoints are specifically set up to receive notifications from the Webhook.

addacontactform_20_en-US.png

Integration ideas

Zapier - Connect contact form data to Zapier for unlimited possibilities. Connect with virtually any modern cloud service, including CRMs like Salesforce, Sugar CRM, Zoho and more.

Slack - Robust messaging APP, connect to receive notifications as soon as form data is submitted.

Custom Integration - Create your own custom Webhooks to integrate with the contact form. For example, save submissions into a database or connect to custom apps or third- party services.

Example Webhooks / Endpoint URL Setup on Slack

In the Slack app, open the main account drop-down, then click on Apps & Integrations.

addacontactform_21_en-US.png

The slack website will open up. In the upper-right corner, click the Build button.

addacontactform_22_en-US.png

Click on Make a Custom Integration.

addacontactform_23_en-US.png

Select Incoming Webhooks.

addacontactform_24_en-US.png

Select an existing channel, or create a new channel where your messages will post to.

addacontactform_25_en-US.png

Copy your Webhooks URL.

addacontactform_26_en-US.png

Adjust the settings and options to your liking, then click Save Settings.

addacontactform_27_en-US.png

Then go back to the content form and paste your Webhooks URL into Webhooks field. Click Done to complete the setup.

addacontactform_28_en-US.png

Preview your site and submit the contact form to test the integration.

addacontactform_29_en-US.png

If you see the message in your selected channel: congratulations! You’re all set up! Now you’ll receive a message on Slack each time your contact form is submitted.

addacontactform_30_en-US.png

File Attachments

Files can be attached to contact form submissions. This can be accomplished by creating a file attachment field in the contact form. Links to uploaded files are available in the form submissions’ download file, as well as in any of the form integrations such as Webhooks and Google Sheets.

Steps

Add a new field to any contact form.

addacontactform_31_en-US.png

Select file attachment from the drop-down menu. You can edit the placeholder text to change the name of this field.

addacontactform_32_en-US.png

A link to upload files will be added to your form.

addacontactform_33_en-US.png

Design

Open the Design Editor by clicking the design tab on the top left corner or by right-clicking the widget and selecting 'Edit Design' to change the button layout, items, frame and spacing. 

addacontactform_34_en-US.png

Layout

Click the Layout tab, then click the layout icon to choose a different layout design for the contact form. Change the form alignment by clicking left or right, depending on how you want the field spaces to align.

addacontactform_35_en-US.png

Item

Click the Item tab to make edits to the field style and field text as well as the button style and button text. You can make changes to the design of the fields and button, such as background colour and border styles, and make changes to the field text and button text, such as size, font, alignment and more. Revert back to the global style by clicking the 'Revert to global design' button.

addacontactform_36_en-US.png

Frame

Click the Frame tab to make edits to the frame style. You can change the background by adding a colour or image, change the text style of the submission notification, add a border and customise the font in the form title.

addacontactform_37_en-US.png

Spacing 

Click the Spacing tab to make edits to the inner and outer spacing of the contact form. Learn more about spacing here.

addacontactform_38_en-US.png

File Attachments

Files can be attached to a contact form. This can be accomplished by creating a file attachment field in the contact form. Visitors will be given a link in order to upload their files through the contact form.

To add this option to your form:

  1. Add a new field to any contact form.
  2. Select file attachment from the drop-down menu. You can edit the placeholder text to change the name of this Area.
  3. A link to upload files will be added to your form.

Considerations

Contact forms are a great tool to gain valuable information from visitors and customers. Make sure to enter your email address in the Delivery Settings recipients step in order to have a copy of the information submitted.

Resources