Home » News » Advanced WordPress Email Forms

Advanced WordPress Email Forms

Extensions for email forms are really full in the WordPress system. But if you are an advanced user who knows the HTML markup language, then the following plugin tip might come in handy. It is really simple, without unnecessary things and you will like it very quickly. I use this plugin on websites that I connect to WordPress from a pure HTML template.

Principle and benefits
Unlike various visual generators of e-mail forms, you need clean HTML code of the form to activate the form, which you can revive by simply inserting it. The advantage is the absolute speed of creating a form that contains all validations and everything needed for sending emails from the website.

Installation
Install and activate the following plugin in your WordPress. The free version is enough for the vast majority of uses. The plugin does not force the paid version in any way.

Creating the first form

In the left menu of WordPress, click on the HTML Forms qatar phone number data item and select Add New. Then enter the name of the form, it is for internal use only.

phone number data

Subsequently, you will see a screen in which the HTML code of the email form is on the left (the default), and on the right is a preview of how the form will look on the website. The styles from the template should also be applied, which is quite handy.

In the left part, you can copy

HTML code of the form that you have, for example, in the current template. Do not copytag, it will be generated automatically.

 

In this example, I decided to just rename the boxes on the left side of the page and brush them.

If you want to insert a new field, you can use the buttons above (Add Field), or simply write the HTML code as you know it.

HTML attributes also control the validation of the entire form on the WordPress side during submission. Thus, if you set the form attribute type=”email” , the form in addition to the various possibilities field will be validated as an email address. If you set the required parameter , the field will be mandatory and the form

The value of the name attribute is used in the list of sent forms and you will need it in the email format settings. I recommend brushing the field and writing without by lists diacritics. Therefore, we will use the attribute name=”Name” for the field “Your name .

Scroll to Top