A contact form is often the first way visitors reach you. You don't have to publish an email address openly on your site for this. Elementor does offer its own form elements, but with more complex fields and validation you quickly hit limits there. That's why in this guide I'll show you how to build a working form with the free plugin Contact Form 7 and then embed it into your Elementor page using the Shortcode element. All you need is the WordPress dashboard and your Elementor test page.
Key Takeaways
- Contact Form 7 is a proven, free plugin with which you create forms in WordPress.
- Each form field consists of a label with a caption and a short field code that is enclosed by the label tags.
- An asterisk directly after the field type makes a field required.
- With the Shortcode element in Elementor, you insert the finished form on any page you like.
- Save every change and then test the form in the frontend before you publish it.
Step-by-Step Guide
Step 1: Install Contact Form 7
You start in the WordPress dashboard. Click on Plugins in the left sidebar and then on Add New at the top. On the page you will see the most popular extensions. Enter "Contact Form 7" in the search field. You can recognize the plugin by the very high number of active installations, which is in the millions, and by its good rating. Also make sure that the last update was not too long ago. This shows you that the developer actively maintains the plugin.

Step 2: Activate the Plugin
Click Install Now on the entry you found. The installation takes a brief moment. Once it is complete, the Activate button appears. Click it so that the plugin starts. Afterwards you will find Contact Form 7 under the menu item Installed Plugins if you want to open it again later.

Step 3: Open the Form and Check the Settings
After activation, a new entry for Contact Form 7 appears in the menu. Open it to see the form management. There you can create a new form or edit an existing one. A default form is already stored during installation. You can use it as a template instead of starting from scratch. On the settings page you can also see the plugin's connection to your installation. You usually don't have to change anything there.

Step 4: Understand the Structure of a Form Field
Before you create fields, you should know the logic behind them. A form field always consists of three parts. First comes the opening label tag, written in the code as <label>. Next follows the caption of the field, for example "Name". Then comes the field code in square brackets, such as [text your-name]. The closing tag </label> completes it. In the video, these tags are referred to as Label and Label End. It is important that you place the label tag at the beginning and at the end of every new field. If you forget the end, the following fields will not be displayed correctly.
In the upper area of the interface, you will find the form's heading in the first column. Below it are the individual field codes, which you can edit or add to.

Step 5: Set a Required Field
You can recognize required fields by the asterisk directly after the field type. The field type text for a simple text field thus becomes text*. The entry [text* your-name] means that the visitor must fill in the field before they can submit the form. The name you assign after the field type will later be displayed in the emails you receive. Therefore, choose a unique name such as "your-name" or "your-email". On the right side, you can make further settings if needed, for example the width of the field or a placeholder text. The basic settings are usually enough to begin with.
Step 6: Set Up Name and Email Address
A contact form needs at least the name and an email address. First create the field for the name. Write the label with the caption "Name" before it and the field code [text* your-name] after it. The asterisk ensures that the field becomes a required field. For the email address, you use the field type email. Here too you add the asterisk so that the address must be provided. The code then reads [email* your-email]. Make sure to enclose each field on its own line with its own label.

Step 7: Add an Optional Phone Field
A phone field is a useful addition, but it should not have to be filled in. So leave out the asterisk. The field type is tel, so the code is [tel your-phone]. Again, put the label with the caption "Phone number" in front of it and the label end behind it. You can insert a blank line between the fields to keep the form clearer. The spacing later only determines how it appears in the code, not the function of the form.
Step 8: Customize the Submit Button
At the very bottom of the form is the button for submitting, stored in the code as [submit]. Here you determine which caption the visitor sees. For example, write "Submit" in the quotation marks after the submit tag, so that the code reads [submit "Abschicken"]. The visitor therefore clicks only this button to transmit their data. The caption should therefore be clear and fit the purpose of the form.
Step 9: Embed the Form in Elementor
When the form is finished, you copy the shortcode that Contact Form 7 displays at the top of the form area. Select it, right-click, and choose Copy. Then open your Elementor test page and click the plus icon to add a new element. In the elements area, search for the Shortcode element. This element is available in both the free and the Pro version, so it is located in the default General tab. Drag it to the desired position and paste the copied code into it using Paste.

After pasting, Elementor displays the name, the ID, and the title of the form. In the video, the form is called Kontaktformular 1. If you can see the form directly in the editor, it is usually embedded correctly. However, keep in mind that the preview is initially based on the most recently saved data.

Step 10: Save and Test in the Frontend
The last step is the most important. Save your changes in Elementor and then open the page in the visitor view. Deliberately fill out the form incorrectly. For example, leave the name field empty and enter an invalid email address. You should now see error messages such as "Email address is invalid" or a notice about the required field. The phone field, on the other hand, may remain empty, since it is not a required field. If the required fields are not displayed in the editor even though they are in the code, save the page again and reload it. Sometimes the preview still shows older data.


Summary – Creating a Contact Form with Contact Form 7 in Elementor
You now have all the basics to create a contact form in WordPress and embed it in Elementor. You install Contact Form 7, create fields with label tags and field codes, and use an asterisk to make certain entries mandatory. Using the Shortcode element, you insert the form into your page and finally test it. In the next step, you can extend the form with privacy notices, selection fields, and a mandatory confirmation so that it works in a legally compliant and reliable way.
FAQ
Do I have to use Contact Form 7 for a contact form in Elementor?No, Elementor offers its own form elements. However, Contact Form 7 is particularly well suited if you need more complex fields or custom validation.
What does the asterisk on a field in the form mean?The asterisk directly after the field type, for example text*, makes the field a required field that the visitor must fill out.
What is a shortcode and why do I need it?A shortcode is a short code that embeds an element such as the form at any location on your page. You copy it from Contact Form 7 and paste it into Elementor's Shortcode element.
Why are my required fields not displayed in the Elementor editor?The preview in the editor may display outdated data. Save the page and then check the form in the frontend, that is, in the visitor view.
Can I still change the form later?Yes, you can edit fields in the plugin at any time. Save the changes in the form and then check the embedded page, since the shortcode usually does not change in the process.
