Contact Form Module

Communication is the cornerstone of any business. With Divi, you can easily add contact forms to any part of your website.

contact module

VIEW A LIVE DEMO OF THIS MODULE

How To Add A Contact Form Module To Your Page

Before you can add a contact form module to your page, you will first need to jump into the Divi Builder. Once the Divi Theme has been installed on your website, you will notice a Use Divi Builder button above the post editor every time you are building a new page. Clicking this button will enable the Divi Builder, giving you access to all of the Divi Builder’s modules. Next, click the Use Visual Builder button to launch the builder in Visual Mode. You can also click the Enable Visual Builder button when browsing your website on the front end if you are logged in to your WordPress Dashboard.

contact module

Once you have entered the Visual Builder, you can click the gray plus button to add a new module to your page. New modules can only be added inside of Rows. If you are starting a new page, don’t forget to add a row to your page first. We have some great tutorials about how to use Divi’s row and section elements.

contact module

Locate the contact form module within the list of modules and click it to add it to your page. The module list is searchable, which means you can also type the word “contact form” and then click enter to automatically find and add the contact form module! Once the module has been added, you will be greeted with the module’s list of options. These options are separated into three main groups: ContentDesign and Advanced.

Use Case Example: Adding a Contact Form to a Contact Page

The first place you should consider putting a contact form on your website is, of course, the contact page. A well designed contact page is essential to increase conversions and spark new business.

For this example I’m going to show you how to add a contact form to a contact page.

contact module

Using the Visual Builder, insert a new standard section with a fullwidth (1 column) row. Then add the Contact Form Module to your row.

Update the Contact Form Settings as follows:

Content Options

Title: [enter title of form] I’m using this title section as a call to action more than a simple title.

Design Options

Title Font: Playfair Display
Title Font Size: 48px (desktop), 40px (tablet), 30px (phone)
Title Line Height: 1.5em
Form Field Font: Montserrat (Bold)
Form Field Font Size: 14px
Form Field Text Color: #aaaaaa
Form Field Letter Spacing: 1px
Form Field Line Height: 1.7em
Border Color: #d4d4d4
Use Custom Styles for Button: YES
Button Text Size: 16
Button Text Color: #ffffff
Button Background Color: #202020
Button Border Width: 12
Button Border Color: #202020
Button Border Radius: 0
Button Letter Spacing: 2
Button Font: Montserrat
Add Button Icon: No
Button Hover Background Color: #333333
Button Hover Border Color: #333333
Button Hover Border Radius: 0
Button Hover Letter Spacing: 2

contact module

Save Settings

It is a good idea to use a custom width for the row containing your contact form so that the form stays compact and doesn’t stretch too far on larger screens. To change the width of your row, go to the row settings under the Design tab and set a custom width of 800px.

contact module

That’s it. The design is both modern and purposefully simple in order to ensure readability and usability.

contact module

Now that you’ve seen the contact form module in action, dive into ALL of it’s settings in the sections below. We’ve provided a detailed rundown of what you will find inside each tab of the module’s settings and an explanation of what each one does.

Contact Form Content Options

Within the content tab you will find all of the module’s content elements, such as text, images and icons. Anything that controls what appears in your module will always be found within this tab.

contact module

Title

Define a title for your contact form.

Success Message

Type the message you want to display after successful form submission. Leave blank to keep the default message: “Thanks for contacting us”.

Submit Button Text

Here you can define the text of the form submit button.

Email

Input the email address where messages should be sent.
Note: Email delivery and spam prevention are complex processes. We recommend using a delivery service such as MandrillSendGrid, or other similar services to ensure the deliverability of messages that are submitted through this form.

Message Pattern

Here you can define the custom pattern for the email Message. Fields should be included in following format – %%field_id%%. For example if you want to include the field with id = phone and field with id = message, then you can use the following pattern: My message is %%message%% and phone number is %%phone%%. Leave blank for default.

Display Captcha

Here you can turn the captcha on or off using this option.

Enable Redirect URL

Here you can choose to redirect users to another URL after successful form submission.

Redirect URL

Here you can type the Redirect URL where you want users to go after a form submission.

Form Background Color

This option changes the background of your form fields.

Admin Label

This will change the label of the module in the builder for easy identification. When using WireFrame view in the Visual Builder, these labels will appear within the module block in the Divi Builder interface.

Contact Form Design Options

Within the design tab you will find all of the module’s styling options, such as fonts, colors, sizing and spacing. This is the tab you will use to change how your module looks. Every Divi module has a long list of design settings that you can use to change just about anything.

contact module

Title Font

You can change the font of your title text by selecting your desired font from the dropdown menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all text on your page. You can also customize the style of your text using the bold, italic, all-caps and underline options.

Title Font Size

Here you can adjust the size of your title text. You can drag the range slider to increase or decrease the size of your text, or you can input your desired text size value directly into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Title Text Color

By default, all text colors in Divi will appear as white or dark gray. If you would like to change the color of your title text, choose your desired color from the color picker using this option.

Title Letter Spacing

Letter spacing affects the space between each letter. If you would like to increase the space between each letter in your title text, use the range slider to adjust the space or input your desired spacing size into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Title Line Height

Line height affects the space between each line of your title text If you would like to increase the space between each line, use the range slider to adjust the space or input your desired spacing size into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Form Field Font

You can change the font of your form field text by selecting your desired font from the dropdown menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all text on your page. You can also customize the style of your text using the bold, italic, all-caps and underline options.

Form Field Font Size

Here you can adjust the size of your form field text. You can drag the range slider to increase or decrease the size of your text, or you can input your desired text size value directly into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Form Field Text Color

By default, all text colors in Divi will appear as white or dark gray. If you would like to change the color of your form field text, choose your desired color from the color picker using this option.

Form Field Letter Spacing

Letter spacing affects the space between each letter. If you would like to increase the space between each letter in your form field text, use the range slider to adjust the space or input your desired spacing size into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Form Field Line Height

Line height affects the space between each line of your title text If you would like to increase the space between each line, use the range slider to adjust the space or input your desired spacing size into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Input Border Radius

Here you can choose the border radius CSS value for all the form fields in your contact form. Increasing border radius will give your form fields rounded corners.

Use Border

Enabling this option will place a border around your form fields. This border can be customized using the following conditional settings.

Border Color

This option affects the color of your border. Select a custom color from the color picker to apply it to your border.

Border Width

By default, borders have a width of 1 pixel. You can increase this value by dragging the range slider or by inputting a custom value into the input field to the right of the slider. Custom units of measurements of supported, which means you can change the default unit from “px” to something else, such as em, vh, vw etc.

Border Style

Borders support eight different styles, including: solid, dotted, dashed, double, groove, ridge, inset and outset. Select your desired style from the dropdown menu to apply it to your border.

Use Custom Styles for Button

Enabling this option will reveal various button customization settings that you can use to change the appearance of your module’s button.

Button Text Size

This setting can be used to increase or decrease the size of the text within the button. The button will scale as the text size is increased and decreased.

Button Text Color

By default, buttons assume your theme accent color as defined in the Theme Customizer. This option allows you to assign a custom text color to the button in this module. Select your custom color using the color picker to change the button’s color.

Button Background Color

By default, buttons have a transparent background color. This can be changed by selected your desired background color from the color picker.

Button Border Width

All Divi buttons have a 2px border by default. This border can be increased or decreased in size using this setting. Borders can be removed by inputting a value of 0.

Button Border Color

By default, button borders assume your theme accent color as defined in the Theme Customizer. This option allows you to assign a custom border color to the button in this module. Select your custom color using the color picker to change the button’s border color.

Button Border Radius

Border radius affects how rounded the corners of your buttons are. By default, buttons in Divi has a small border radius that rounds the corners by 3 pixels. You can decrease this to 0 to create a square button or increase it significantly to create buttons with circular edges.

Button Letter Spacing

Letter spacing affects the space between each letter. If you would like to increase the space between each letter in your button text, use the range slider to adjust the space or input your desired spacing size into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Button Font

You can change the font of your button text by selecting your desired font from the dropdown menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all text on your page. You can also customize the style of your text using the bold, italic, all-caps and underline options.

Add Button Icon

Disabled this setting will remove icons from your button. By default, all Divi buttons display an arrow icon on hover.

Button Icon

If icons are enabled, you can use this setting to pick which icon to use in your button. Divi has various icons to choose from.

Button Icon Color

Adjusting this setting will change the color of the icon that appears in your button. By default, the icon color is the same as your buttons’ text color, but this setting allows you to adjust the color independently.

Button Icon Placement

You can choose to have your button icon display on the left or the right side of your button.

Only Show Icon On Hover for Button

By default, button icons are only displayed on hover. If you would like the icon to always appear, disable this setting.

Button Hover Text Color

When the button is hovered over by a visitor’s mouse, this color will be used. The color will transition from the base color defined in the previous settings.

Button Hover Background Color

When the button is hovered over by a visitor’s mouse, this color will be used. The color will transition from the base color defined in the previous settings.

Button Hover Border Color

When the button is hovered over by a visitor’s mouse, this color will be used. The color will transition from the base color defined in the previous settings.

Button Hover Border Radius

When the button is hovered over by a visitor’s mouse, this value will be used. The value will transition from the base value defined in the previous settings.

Button Hover Letter Spacing

When the button is hovered over by a visitor’s mouse, this value will be used. The value will transition from the base value defined in the previous settings.

Contact Form Advanced Options

Within the advanced tab, you will find options that more experienced web designers might find useful, such as custom CSS and HTML attributes. Here you can apply custom CSS to any of the module’s many elements. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module within your child theme’s style.css file.

contact module

CSS ID

Enter an optional CSS ID to be used for this module. An ID can be used to create custom CSS styling, or to create links to particular sections of your page.

CSS Class

Enter optional CSS classes to be used for this module. A CSS class can be used to create custom CSS styling. You can add multiple classes, separated with a space. These classes can be used in your Divi Child Theme or within the Custom CSS that you add to your page or your website using the Divi Theme Options or Divi Builder Page Settings.

Custom CSS

Custom CSS can also be applied to the module and any of the module’s internal elements. Within the Custom CSS section, you will find a text field where you can add custom CSS directly to each element. CSS input into these settings are already wrapped within style tags, so you need only enter CSS rules separated by semicolons.

Visibility

This option lets you control which devices your module appears on. You can choose to disable your module on tablets, smart phones or desktop computers individually. This is useful if you want to use different modules on different devices, or if you want to simplify the mobile design by eliminating certain elements from the page.

Individual Contact Form Content Options

contact module

Field ID

Here you can define the unique ID of this field. You should use only English characters without special characters and spaces.

Title

Here you can define the content that will be placed within the current tab.

Type

Here you can choose your field type. Options include Input Field, Email Field, or Text Area.

Minimum Length

This sets the minimum length of characters for the input field. Leave at 0 to remove restriction.

Maximum Length

This sets the maximum length of characters for the input field. Leave at 0 to remove restriction.

Allowed Symbols

This designates the symbols allowed for the input field. Choices include “letters only”, “numbers only”, and “alphanumeric only”.

Required Field

Here you can define whether the field should be required or optional.

Enable (Conditional Logic)

Here you can choose to enable the conditional logic feature. Enabling conditional logic makes this field only visible when any or all of the rules below are fulfilled.

Relation

Here you can choose whether any or all of the rules should be fulfilled.

Rules

This section allow you to show or hide the field based on the rules or conditions you set for previous selections.

Background Color

Here you can choose a background color for this specific field.

Individual Contact Form Design Options

contact module

Make Fullwidth

If enabled, the field will take 100% of the width of the content area. Otherwise it will take 50%.

Field Font

You can change the font of your field text by selecting your desired font from the dropdown menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all text on your page. You can also customize the style of your text using the bold, italic, all-caps and underline options.

Field Font Size

Here you can adjust the size of your field text. You can drag the range slider to increase or decrease the size of your text, or you can input your desired text size value directly into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Field Text Color

By default, all text colors in Divi will appear as white or dark gray. If you would like to change the color of your title text, choose your desired color from the color picker using this option.

Field Letter Spacing

Letter spacing affects the space between each letter. If you would like to increase the space between each letter in your field text, use the range slider to adjust the space or input your desired spacing size into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Field Line Height

Line height affects the space between each line of your title text If you would like to increase the space between each line, use the range slider to adjust the space or input your desired spacing size into the input field to the right of the slider. The input fields supports different units of measurement, which means you can input “px” or “em” following your size value to change its unit type.

Use Border

Enabling this option will place a border around your form fields. This border can be customized using the following conditional settings.

Border Color

This option affects the color of your border. Select a custom color from the color picker to apply it to your border.

Border Width

By default, borders have a width of 1 pixel. You can increase this value by dragging the range slider or by inputting a custom value into the input field to the right of the slider. Custom units of measurements of supported, which means you can change the default unit from “px” to something else, such as em, vh, vw etc.

Border Style

Borders support eight different styles, including: solid, dotted, dashed, double, groove, ridge, inset and outset. Select your desired style from the dropdown menu to apply it to your border.

Individual Contact Form Advanced Options

contact module

Custom CSS

Custom CSS can also be applied to the module and any of the module’s internal elements. Within the Custom CSS section, you will find a text field where you can add custom CSS directly to each element. CSS input into these settings are already wrapped within style tags, so you need only enter CSS rules separated by semicolons.

Getting Started With The Divi Builder

Getting Started With The Divi Builder

What Is The Visual Builder? The Divi Builder comes in two forms: The standard “Back-end Builder” and the front-end “Visual Builder.” Both interfaces allow you to build exactly the same types of websites with the same content elements and design settings. The only...

Accordion Module

Accordion Module

The accordion module is a great way to consolidate information within a single system. Accordions are very similar to tabs, except that the items are displayed within a vertical list. When a new item within the list is opened, the previously-opened item is closed and...

Audio Module

Audio Module

The audio module allows you to embed an audio file + a custom audio player anywhere on your page. The audio player assumes the clean/modern style of the Divi theme. This is a great feature for musicians who want to show off their latest creations, or podcasters who...

Bar Counters Module

Bar Counters Module

Animated counters are a fun and effective way to display stats to your visitors. Animation is triggered using lazy-loading to make browsing the page truly engaging. You can place as many counters as you would like inside of this module. VIEW A LIVE DEMO OF THIS MODULE...

Blog Module

Blog Module

With Divi, even blogs are a module, and your “blog” can be placed anywhere on your website, and in various formats. You can combine blog and sidebar modules to create classic blog designs. 1 column, 2 column or 3 column blogs can all be built using blog and sidebar...

Blurb Module

Blurb Module

The blurb module is a simple and elegant combination of text and imagery. Blurbs are a great way to showcase small bits of important information, and are often used in rows to display skills or features. Blurb modules can be placed in any column that you create. VIEW...

Button Module

Button Module

How To Add A Button Module To Your Page Before you can add a button module to your page, you will first need to jump into the Divi Builder. Once the Divi Theme has been installed on your website, you will notice a Use Divi Builder button above the post editor every...

Call To Action Module

Call To Action Module

It’s always important to give your visitors a clear call to action. Whether you are trying to get them to purchase your product or contact you for a quote, the call-to-action module will get the clicks you need. The CTA module is a simple combination of a title, body...

Circle Counter Module

Circle Counter Module

The circle counter provides you with a beautiful and visually-compelling way to display a single statistic. As you scroll down, the number counts up and the circle graph fills to the percentage based location. Try combining multiple circle counter modules on a single...

Code Module

Code Module

The Code Module is a blank canvas that allows you to add code to your page, such as plugin shortcodes or static HTML. If you would like to use a third party plugin, for example a third party slider plugin, you can simply place the plugin’s shortcode into a standard or...

Comments Module

Comments Module

The comments module allows you to place a comment form anywhere on your page. If you are using a standard page or post without the Divi Builder, comments will always appear below your post content. Once the Divi Builder is enabled, however, you can place the comments...

Countdown Timer Module

Countdown Timer Module

The Countdown Timer module creates a visual timer that counts down to a specific date. This is great for creating a “coming soon” page to builds anticipation for a new product or service. When combined with a “blank page,” this can also be used as a great “coming...

Divider Module

Divider Module

The divider module is perfect for creating either a horizontal line rule, custom vertical spacing, or both. Using this element is great for adding structure and organization to your site. VIEW A LIVE DEMO OF THIS MODULE How To Add A Divider Module To Your Page Before...

Email Optin Module

Email Optin Module

The Divi Email Optin module supports various email providers. Within each email provider, you can create custom data fields that can store different pieces of information about your email subscribers. This data can then be used to segment your email lists or create...

Filterable Portfolio Module

Filterable Portfolio Module

The Filterable Portfolio allows you to display your most recent projects in either a Grid or Standard fashion. The filterable portfolio looks just like the normal portfolio module, except that it loads new projects using an Ajax request, and it includes options to...

Gallery Module

Gallery Module

Sharing a collection of images is always a great way to visually engage users in your content. The Gallery module lets you create and organize galleries anywhere on your website. The Divi Builder gallery module comes in both grid and slider format and supports large...

Image Module

Image Module

Divi makes it easy to add images anywhere on the page. All images come with 4 different animation styles that make browsing your website fun and engaging. Image modules can be placed in any column that you create, and their size will be adjusted to fit. VIEW A LIVE...

Number Counter Module

Number Counter Module

The number counter is a great way to display numbers in a fun and engaging way. This module is commonly used to display statistics about yourself or your company. For example, display your customer count or Facebook followers is a great way to showcase social proof....

Person Module

Person Module

The Person Modules is the best way to create a personal profile block. This is a great module to use on About Me or Team Member pages where you want to create a bio of individual people. This module combined text, imagery and social media links into a single, cohesive...

Portfolio Module

Portfolio Module

With the Portfolio Module you can show off your work anywhere on your site in any column structure. VIEW A LIVE DEMO OF THIS MODULE How To Add A Portfolio Module To Your Page Before you can add a portfolio module to your page, you will first need to jump into the Divi...

Navigation Module

Navigation Module

How To Add A Post Navigation Module To Your Page Before you can add a post navigation module to your page, you will first need to jump into the Divi Builder. Once the Divi Theme has been installed on your website, you will notice a Use Divi Builder button above the...

Post Slider Module

Post Slider Module

How To Add A Post Slider Module To Your Page Before you can add a post slider module to your page, you will first need to jump into the Divi Builder. Once the Divi Theme has been installed on your website, you will notice a Use Divi Builder button above the post...

Post Title Module

Post Title Module

The Post Title Module displays the title of your current post, and optionally the post Featured Image and meta data in an elegant fashion. This allows you to create more unique looking posts when building your posts using the Divi Builder. VIEW A LIVE DEMO OF THIS...

Pricing Tables Module

Pricing Tables Module

It’s easier than ever to create pricing tables for your online products. Create as many tables as you want, and control the pricing and features of each. You can even feature a particular plan to increase conversions. Even if your module includes more than one pricing...

Search Module

Search Module

Using the search module, you can place a search form anywhere on your site. This search form will allow your visitors to search through all of your website’s content, including all pages and blog posts. This gives you the functionality of the WordPress search widget...

Shop Module

Shop Module

Divi has been designed to be WooCommerce compatible. To integrate WooCommerce you will need to install the latest version of WooCommerce. WooCommerce is the plugin that we recommend, as it has the nicest feature set, interface and follows the best coding practices....

Sidebar Module

Sidebar Module

Divi lets you create an unlimited number of widget ready areas on the fly. Sidebars can then be added to any page, allowing you to create unique sidebars for different section of your website. VIEW A LIVE DEMO OF THIS MODULE How To Add A Sidebar Module To Your Page...

Slider Module

Slider Module

Sliders can be placed anywhere, spanning the full width of whatever column structure they are in. Divi sliders support parallax backgrounds, as well as video backgrounds! VIEW A LIVE DEMO OF THIS MODULE How To Add A Slider Module To Your Page Before you can add a...

Social Media Module

Social Media Module

The social media module lets you create icon-based links that point to your online social profiles, such as Facebook, Twitter and Google+. These icons are integrated into the theme, in the clean style of Divi using our Elegant Icons, which make them preferable to use...

Tabs Module

Tabs Module

Tabs are a great way to consolidate information and improve user experience on your page. Using Divi, you can create any number of tabs that will look great inside any sized column. At ¼ columns, tab buttons are stacked and remain visible. At larger sizes, tab buttons...

Testimonial Module

Testimonial Module

Testimonials are a great way to encourage trust from your visitors. Using the Divi testimonial module, you can quickly add testimonials to your join & sales pages. testimonials are usually compelling quotes from your customers. Each testimonial has a quote, the...

Text Module

Text Module

Text can be added anywhere on your page. Text modules can be placed within any column type, and when combined with other modules, they make for a truly dynamic page. When you add a text module, you are given all of the editing capabilities of a normal WordPress page....

Toggle Module

Toggle Module

Toggles are a great way to consolidate information and improve user experience on your page. Using Divi, you can create any number of toggles that will look great inside any sized column. VIEW A LIVE DEMO OF THIS MODULE How to Add a Toggle Module to Your Page Before...

Video Module

Video Module

Adding videos to your page in Divi is simple using the Video module. The module allows you to embed videos from just about any source, as well as customize the thumbnail image and play button to add a clearner style to the embed. VIEW A LIVE DEMO OF THIS MODULE How To...

Video Slider Module

Video Slider Module

Divi makes it easy to add a Video Slider to your page. This is a great way to organize collections of videos from just about any source. The video gallery also allows you to customize video thumbnail images and play button to add a clear, custom style to your embeds....