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

Setting up the Contact Form 

1. Add the contact form widget onto your responsive website. 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.

contactform1_en-US.png

4. Click the Submission tab. In the Submission recipients section, set the email address and subject for receiving form responses. contactform2_en-US.png

5. 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 color, emphasis (bold, italics and underline), and bullets to text in the message boxes.

contactform3_en-US.png

6. 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.contactform4_en-US.png

Setting up your GDPR-Friendly Contact Form

To obtain consent from your visitors upon contact form submission, simply add a new field to your contact form following the instructions above and pick either the Opt-in or Free text option.

Add Opt-in field

Adding the Opt-in field will add a checkbox confirming your visitor’s consent to share form responses. This field will be required to submit the form response.

gdpr_friendly_contact_form1-en_us.png

The default text is “By checking, I agree to share my form responses” but you can replace this with custom text if you like.

Add free text field

You may choose to add a different notification using free text. In this case, the field will simply appear as a notification below the fields of your contact form.gdpr_friendly_contact_form2-en_us.png

Please note: There is no default GDPR or privacy-related placeholder text in the free text field, as this is a multi-purpose field, so you need to place your custom text.

Delete form responses

To delete responses received via a contact form, please go to the site dashboard, click the hamburger icon next to the site where the form appeared and select Form Responses.

gdpr_friendly_contact_form3-en_us.png

Alternatively, you can open the Manage Form Responses field in the Content tab of your left-side editor menu.

gdpr_friendly_contact_form4-en_us.png

The Form Responses page that opens allows you to remove any response to any form on that site. You can search for relevant responses in the Search visitor info search box. Make sure you search for the exact name, phrase or characters.

gdpr_friendly_contact_form5-en_us.png

Clicking on the relevant form tab opens a table which includes:

  • the date of the form response submission
  • the input from each of the form fields
  • the option to delete the form response

Integrations

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

Google Sheets Integration

Have contact form submission data instantly added 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.
contactform5_en-US.png

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

contactform6_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.

contactform7_en-US.png

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

contactform8_en-US.png

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

contactform9_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 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 the 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.

contactform10_en-US.png

Expand the MailChimp option and choose CONNECT TO MAILCHIMP.

contactform11_en-US.png

Sign in with your MailChimp credentials.

contactform12_en-US.png

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

contactform13_en-US.png

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

contactform14_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.

contactform15_en-US.png

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

contactform16_en-US.png

Sign in with you Constant Contact credentials.

contactform17_en-US.png

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

contactform18_en-US.png

Configure your form fields. In addition to the email address, the website builder can automatically send first name, last name, and phone number to Constant Contact. 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.

contactform19_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 end point 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: that “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 setup on 3rd 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.

contactform20_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 3rd party services.

Example Webhooks / Endpoint URL Setup on Slack

In the Slack app, open the main account dropdown, then click on Apps & Integrations.

contactform21_en-US.png

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

contactform22_en-US.png

Click on Make a Custom Integration.

contactform23_en-US.png

Select Incoming Webhooks.

contactform24_en-US.png

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

contactform25_en-US.png

Copy your Webhooks URL.

contactform26_en-US.png

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

contactform27_en-US.png

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

contactform28_en-US.png

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

contactform28.5_en-US.png

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

contactform29_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. 

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.

contactform30_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 color 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.

contactform31_en-US.png

Frame

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

contactform32_en-US.png

Spacing 

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

contactform33_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