'}}

If you want to create an inquiry form with a confirmation page, use “WP MP Form”

At HanamiWEB Online School,

●Ask questions in real-time in the virtual study room!

●Ask as many questions as you want via chat!

●E-learning materials that you can learn as much as you want, 24 hours a day!

All included for just 2,500 yen/month!

The classic WordPress contact form plugin "Contact Form7"

I'm sure most of you are using the Contact Form 7 plugin.

Contact Form7 is a major and very easy to use tool.

  • There is no confirmation page
  • The message ends with a one-line message saying "Sent"
  • I have to enter my email address twice. I can't confirm my email address.

For those who are concerned about such issues, we recommend the plugin "MW WP Form" that we will introduce here.

It has an advantage over Contact Form 7 in that you can customize the confirmation page and submission completion page.

WordPress has many plugins made overseas,The flow of confirmation screen ⇒ submission is unique to JapanIt may be that, but it's a rare specification.

I'd like to quickly explain how to use MW WP Form.

MW WP Form video explanation

An explanatory video about the MW WP Form contact plugin that lets you create thank you pages!

MW WP Form Installation

Go to [Plugins] > [Add New] and search for [MW WP Form].

It is not updated very frequently and has not been tested with the latest version of WordPress. Use the plugin at your own discretion.

I have seen several sites using MW WP Form in the past, and they have been using it for a long time without any problems.

Once activated, it will be added to the left sidebar of your WP dashboard.

Creating a contact form

Unlike Contact Form7, there are no sample forms, so we will create one from scratch. Click [Add New].

Add a title and create the form below.

Create the form content

Now, let's set up the form content, such as the name input field and email address input field.

Select the form you want and click the [Add form tag] button to create the form.

This time, we will create the contact form using HTML table tags.

<table>
 <tr><td>name</td><td>[Input field]</td></tr>
 <tr><td>email address</td><td>[Input field]</td></tr>
...
</table>

We will create it based on the above configuration.

Create a single line text input field

Name etc.One-line input formIf you want to use, select [Text].

The name field is required, and this value is used for automatic reply.Used in email placeholdersTo do.

You only need to fill in the other required fields, so there is no need to fill in anything.

This is how the text is generated.

To actually set up the contact form:

<table>
 <tr><td>name</td><td>[mwform_text name=&quot;name&quot; id=&quot;name&quot; size=&quot;60&quot;]</td></tr>
</table>

Set it up like this. If you set it to table, the table design from the theme will be automatically reflected.

Email address input field

Email address has an input field for your email address.

First, copy and duplicate the name line.

  • Change your name to your email address
  • [mwform_text name="name" id="name" size="60"] ⇒ Delete

<td></td>With the cursor between the boxes, create an email input field.

The field to use is [Email]. Enter name and click [insert].

It was entered in this format.

I also want to create a field for email address confirmation, so I'll copy the email address line andname="email2"Change it to:

Phone number input field

If the email address registered is incorrect, we will not be able to contact you, so we often set up a field for entering a phone number.

Just like with the email address, copy the line and edit the necessary parts.

Use the phone number input field. Enter the name and click [Insert].

Selection Box Field

You will probably be asked to check the details of your inquiry in advance.

  • Radio buttons - choose only one
  • Checkboxes - Multiple selection possible
  • Select Box - Drop-down selection

Select from and add a field.

As before, copy any line and change it as necessary.

This time we will use check boxes. Enter a name, enter each item on a separate line in the options, and then click [Insert].

It was entered in this format.

Multiline input fields

Set up a multi-line input field for entering your inquiry details.

As with the previous steps, copy any line and rewrite the necessary parts.

Use the text area field. Enter name and click [Insert].

*By entering text into the Placeholder, you can create a state where temporary text is already entered in gray.

It was entered in this format.

Confirm/Submit button

Since we want to generate a confirmation page, we will use the Confirm/Submit button.

Until now, the table had two items per row: the name and name input field, but since the button is just one item, you can link them by adding the code [colspan="2"].

Set the Confirm/Submit button.

This is how it was set up.

Contact form code

It's a simple contact form

  • name
  • email address
  • Verify your email address
  • telephone number
  • Inquiry details (check box)
  • message
  • Confirm/Submit button

The inquiry form for the item has been created. The code is as follows.

<table>
 <tr><td>name</td><td>[mwform_text name=&quot;name&quot; id=&quot;name&quot; size=&quot;60&quot;]</td></tr>
 <tr><td>email address</td><td>[mwform_email name=&quot;email1&quot; id=&quot;email1&quot; size=&quot;60&quot;]</td></tr>
 <tr><td>Verify your email address</td><td>[mwform_email name=&quot;email2&quot; id=&quot;email1&quot; size=&quot;60&quot;]</td></tr>
 <tr><td>telephone number</td><td>[mwform_tel name=&quot;tel&quot;]</td></tr>
 <tr><td>Content of inquiry</td><td>[mwform_checkbox name=&quot;title&quot; id=&quot;title&quot; children=&quot;Website creation, lessons, instructor requests, etc.&quot; separator=&quot;,&quot;]</td></tr>
 <tr><td>message</td><td>[mwform_textarea name=&quot;message&quot; id=&quot;message&quot; cols=&quot;50&quot; rows=&quot;5&quot; placeholder=&quot;Please enter your inquiry&quot;]</td></tr>
  <tr><td colspan="2">[mwform_submitButton name=&quot;submit&quot; confirm_value=&quot;Go to confirmation screen&quot; submit_value=&quot;Submit&quot;]</td></tr>
</table>

Successful sending message

Once you have completed your contact form, the next step is to create a completion message.

The information you enter here will be displayed after submission is complete.

URL configuration

Set the URL.

Enter the URL of the page where the inquiry form will be placed in the [Input Screen URL] field.

If you leave the confirmation screen, completion screen, and error screen blank, they will be displayed on the same page as the inquiry page, so the confirmation screen will be displayed even if you do not make any special settings.

Adding Validation Rules

Add settings to make the field required, allow only numerical input, and check that the email address is correct the second time it is entered.

Make it required

Click Add Validation Rule.

To set

  • Item to apply validation: Enter the name value set in the input field
  • Check the required items

Only this.

In the case of email addresses, check the email address as well.

Check that the email address matches

This setting asks you to enter your email address twice to check that it is correct.

Add a new validation rule.

  • Item to which validation rules are applied: email2 (the name given to the second email address input)
  • Check the required items
  • Check the email address
  • Matching items - emal1 (the name you entered when you first entered your email address)

This time, I wanted to make all fields mandatory, so I set validation rules for all names.

This concludes the explanation of how to create a basic contact form using MW WP Form.

All that's left to do is create the email content and enter the shortcode on the page to complete it.

Setting up automatic reply emails to customers

There are settings options on the right sidebar.

  • Subject - what will appear in the subject line of the email
  • Sender - what will appear as the sender name in the email
  • Replay-to - the email address to which you reply to the email you received
  • Main text - Main text
  • Auto-reply email – This needs to be addressed to the customer, so enter {email1} and the name you gave the customer in the email address they entered.
  • Sender - You do not need to enter a sender email address.

In the main text, you can display the input content by surrounding the name you entered with {}, like so: {name}.

A sample of the text is attached.

Thank you for your inquiry, {name}. This is an automatic reply email from the system. A person in charge will check your message and get back to you within 1-2 business days. Please wait a moment. Inquiry details Name: {name} Email address: {email1} Phone number: {tel} Inquiry details: {tite} Message: {message} ================= HanamiWEB HP: https://hanami-web.tokyo.jp/ Email: info@gmail.com TEL:

Automatic reply email settings for administrators

Below the auto-reply email settings for customers are the settings for administrators.

Here are the differences between this and the one for customers.

  • You can send emails to multiple administrators using CC etc.
  • If you want to set your email address to Replay-to, use the name you gave in the email address input field. Example: {name1}

View contact form

Once the settings are complete, click [Save].

The contact form will be displayed by entering the shortcode on the page you want to display it on.

Inquiry form display example

The screen that is output after entering the shortcode looks like this.

Since it was created using a table, it is divided into items on the left and input fields on the right.

Also, suddenly instead of a submit button, I see a confirm button.

Since validation is set for required input, if you click the Confirm button with the field left blank, an error will be displayed.

The email address verification setup is also successful.

Since the confirmation page URL is set to blank, the inquiry form will be switched to the confirmation page.

When you click Send, a completion message will appear on the screen to let you know what you have done.

summary

I think MW WP Form is the only free plugin that can implement the typical contact form flow in Japan.

  • Email address verification input field
  • Display confirmation page of inquiry form

I recommend it to anyone who wants to!

Leave the reskilling of your website to us!

Since 2019, we have been sharing skills related to WordPress and websites. We have accumulated case studies and know-how, and are good at quickly and accurately solving problems. If you have any concerns about your website, please feel free to contact us via our official LINE account!

↑Click to open the official LINE page

Latest Articles

'}}
Explains how to customize the LifterLMS system automatic output page
'}}
LifterLMS Customization example when the registration date and active date are different due to bank transfer, etc.
'}}
(Solved) Emails sent from WordPress to Gmail are not being sent [Lollipop]
'}}
Explaining package (ticket) settings for the WordPress reservation system Amelia
WP Rocket - WordPress Caching Plugin
en_USEnglish