WordPress custom form save to database

The phrase WordPress custom form save to database is interested by lots of people. Almost simple contact forms are sent to the admin email address. But in fact, the data needed to be saved to the database. This article will guide you on how to do this in the simplest way.

To be easy for WordPress newbies, we will prioritize to use a plugin. Of course, you can write code yourself. However, for the suitability for every people, we will do the simplest things as below.

Preparation 

  • WordPress: Absolutely, you need to have one website with WordPress already installed or used on your computer.
  • Contact form 7: You must have been so familiar with it due to its popularity
  • Contact Form 7 Database: This is the plugin used to save data to the database when users submit information.

Implementation wordpress custom form save to database

In order to complete the process that wordpress custom form save to database, the first things to do is log in to the WordPress admin. You hover to Plugins and click on Add new.

In the search box, you enter contact form 7. Then you install the plugin and make it active as below

We so the similar thing with the plugin “contact form 7 database

Now, we will create a contact form by building fields. Contact form 7 is a very good form builder plugin which supports many types of input field such as text, image, file, checkbox, etc.

You can use the default form of contact form 7 to make a simple trial.

On all forms, there exist shortcodes. You just need to copy the shortcodes and paste on the post or page you want forms to be displayed.

This article will help you add this code to the contact page

After entering the information already, you click on Submit. If you use localhost but you have not installed sending email on the localhost, the system will show error. Don’t worry! After submitting, data has been saved to the database. We will get to the back end to check.

The plugin admin will display as below

You click to view the detailed contents.

Here is the content in the example

We have finished the article wordpress custom form save to database. If you have any question, please leave a comment.

If you use Prestashop, you could use form builder module. This module supports you to drag and drop professionally. You just have to drag and drop the fields you want to display and save them. It supports responsive to be compatible with all devices. If you do not know how to use it, there are available guidance document as well as support team so that you can use it without minding.

Contact form 7 send to multiple emails

contact form 7 send to multiple emails is very important to people who use contact form as a contact channel. This happens in the case that someone sends data via contact form. The contents will be automatically sent to administrative, sales and customer service departments, etc. The advantage of the contact form is that it allows users to send email directly to admin quickly without depending on mail-sending programs such as Outlook or gmail.

When the contact form is on the website, by default, customers will base on the existing fields such as name, email, title, contents to send data. After submitting the data, an email containing this data saved in the system will be sent to admin. However, you can do more than ever with contact form 7.

Contact form 7 is the well-known form builder which is used many people in the world for WordPress source code. If you use Shopify to build your website, I suggest that you should use Powerful Form Builder because it works well and has many similar and higher-level features than that of contact form 7.

Come back to today problem “ contact form 7 send to multiple emails ”, at the moment, I suggest that you should apply one in the two following simple ways.

Add extra emails to received email item

By using this way, you can enter a list of email addresses in text box “to” in the email tab of contact form 7’s installation. Remember that email addresses are separated by a comma “,”.

contact form 7 send to multiple emails

Use BCC, and CC to add email address to Additional Headers

When following this way, you enter received emails in CC, BCC in Additional Headers as below.

contact form 7 send to multiple emails

Send emails to customers

When customers send data to the website’s admin, you can automatically reply to the emails that have been sent to you. This automatic email could be thanking one. You can use this feature or not depending on your purpose.

To use this feature, you do as the following guidance. Put a tick on Use email check box.

contact form 7 send to multiple emails

Next, a window shows up as below. Your task is to enter information as below to make sure that your customers can receive your reply email. You can absolutely create your own message by changing the contents in Message Body box.

contact form 7 send to multiple emails

We have solved the problem “ contact form 7 send to multiple emails ” together. I believe that you have your own solution. If you cannot do that, please try one more time. Or you can contact us or leave us a message. We will support you for free. You can share this article because I believe that many people do not know about this solution.