Subscribe On YouTube

Join other subscribers and enjoy other Divi video tutorials!

How To Save Divi Contact Form Entries To The Database

Nelson Miller Profile Orange
In this tutorial I will show you how to save the Divi Contact Form module entries to your WordPress website database.

▶️ Please watch the video above to get all the exciting details! 👆

1. Install The Divi Contact Form Helper Plugin

Since Divi does not have this feature, the first step is to install the Divi Contact Form Helper plugin. Hopefully by now, most of my weekly blog readers are already using this plugin (especially if you are members of our all-access Divi Adventure Club), but if not, be sure to check the product page to learn more. The plugin adds over 100 main settings and features directly to the existing Contact Form module, including saving entries to the database.

Divi Contact Form Helper by Pee Aye Creative

2. Enable Setting To Save Entries To Database In The Divi Contact Form Module

Go to your Divi Contact Form module and open the settings. You will notice many additional settings added by our plugin. Open the “Submission Entries” toggle and make sure the “Save Entries To Database” setting is enabled. This should be enabled by default, but be sure to double-check, as this is the most important setting. 

enable the setting to save Divi Contact Form entries to the db database

Notice there are lots of other great settings and options to choose too, but for this tutorial we will stay focussed, and you can learn more on our product page or documentation.

3. Ensure The Module Has A Unique ID

In order for entries to be saved in the website database, the form itself needs to have some kind of connection with the database. By default, the regular Contact Form is just a module on the page that works independently and is not connected to anything else. So to solve this, we created a new feature in our plugin that assigns a unique ID in the Admin Label toggle of each contact form. This ID is then used to connect to the database and identify which entries come from which form. 

setting a unique ID in the Divi Contact Form to save entries to the db database

Keep in mind that if you have more than one form on your site, each one MUST be unique (and will be by default unless you duplicate the module with the duplicate button in the Divi Builder). We have more information about using unique IDs in our plugin documentation

4. Viewing And Managing Entries

View The List of Entries

When new forms are submitted, the entries will now appear in a list under the “Contact Form>Entries” menu in your WordPress dashboard. This screen will show a list of all the entries with various details such as the entry number, name and email address, read or unread status, and date and time.

viewing form entries in Divi Contact Form helper plugin

View An Individual Entry

You can click on an entry number from the entries list to view an individual entry. This screen will have all the details and data from the entry.

viewing an individual entry in the Divi Contact Form Helper Plugin by Pee Aye Creative

Entry Details
On the left side of the page, all the form fields will appear with their respective field data. In this example, Name, Email Address, Message, and New Field are the labels of the form fields used in the module. To the right of each field label is the data which was inputted into the form from the person who submitted it. Any files from the file upload field will also appear here.

Same User Entries
At the bottom of the page are any other entries that were previously submitted from the same person (based on email address).

Actions
On the right side of the page are some available actions such deleting the entry, replying to the entry, creating an email template from the entry, or creating a post by mapping the fields to a custom post type.

Meta Details
Below the actions on the right side of the page are some standard meta details such as the contact form identifier, the page it was submitted from, the referrer URL, and the timestamp.

User Agent Details
Below the meta details on the bottom-right side are any optional user agent details (only if setting is enabled) such as IP address, browser, and operating system.

Export Entries To CSV

Once you have entries saved in the database, you can optionally choose to export them to a CSV file. You can learn more about exporting entries to CSV in our documentation.

Auto Backup Your Entries

If you want to automatically back up your entries to an external location, you can set up a schedule such as every day, week, or month. This will send an email with a CSV file attached. You can learn more about automatically backing up entries in our documentation.

Auto Delete Your Entries

Some countries or regulations require data to be deleted after a specific period of time. If you need to delete your entries after 14 days, for example, you can do this automatically. You can learn more about automatically deleting entries in our documentation.

Subscribe For More Things Like This!

At the start of each month, we send out a recap newsletter from the month before with family news, Divi news, our latest tutorials, and product news. Occasionally, if the news is too exciting to wait, we will send out another email separate from the monthly newsletter. That’s what you get when you subscribe, and of course you can unsubscribe if you are no longer interested!

Blog Post Optin

Leave A Response!

By commenting you agree to our Blog & YouTube Comments Policy

2 Comments

  1. Torie Mathis

    Hey Nelson, Thanks! This is super helpful. I wanted to use Divi instead of gravity forms for a contact form and this makes it doable. Very appreciated!

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent Posts

0

Your Cart