The Contact Form block is a configurable lead form you place on any page. You choose the fields, their types, their widths and the button, and submissions go to the addresses set in the design settings.
It is a general contact form. The forms attached to a property page are separate and carry the listing with them.
Before you start
Set Contact form recipients under Social and Contact in the design settings. Left empty, submissions fall back to the company Email on that same tab. With neither set, a submission has nowhere to go.
The field list
Fields are a repeating list. The form ships with Name and Email at half width each, then Phone and Message at full width, with Name and Email required.
Each row has a Label, a Field name, a Type, an optional Placeholder, a Required switch and a Width.
The types are Text, Email, Phone, Message, Dropdown, Radio buttons and Checkbox. Dropdown and Radio read their choices from the Choices box on the same row, comma separated.
Widths are shares of one row: full, two thirds, a half, a third or a quarter. Two halves sit side by side, three thirds make a three across row.
Consent and privacy
Show consent checkbox adds the marketing consent tick. Its wording is not set on the block: it comes from Text for the checkbox label and Text for terms link in the design settings, so one edit changes every form on the site.
Write the consent wording once in the design settings before you build any forms. The block only decides whether the checkbox is shown, so a form built with placeholder wording keeps showing whatever the settings say, not what you typed on the page.
Appearance options
Title adds a heading. Left empty there is no heading, so one control covers both.
Hide labels (use placeholders) turns the form into a compact bar, which is when the per field placeholder text matters.
Field size is Small, Medium or Large. The button has its own Button text, Button color, Button size, Button width and Button alignment, which offers Left, Center, Right and Justified, and defaults to Left.
As a shortcode
[mlsimport_contact_form title="Ask us anything" button_text="Send" show_consent="1"]
The field list is a repeating structure and cannot be expressed as an attribute, so the shortcode form uses the default four fields. Use the block or the widget for a custom field list.
In the block editor and Elementor
In the block editor, add Contact Form from the MLSImport group and build the field list in the sidebar inspector.
In Elementor, drag Contact Form from MLSImport Widgets. The field repeater is on the Content tab, and the Style tab controls the title, the labels, the inputs and the button.
If it does not work
- No email arrives. Check the recipients setting first, then your site’s outgoing mail. WordPress sends through the server by default, which many hosts silently discard. An SMTP plugin fixes that class of problem.
- The dropdown has no choices. The Choices box on that row is empty. It is required for Dropdown and Radio buttons.
- The consent text is wrong or missing. It comes from the design settings, not from the block.
- The form submits but nothing happens visibly. A caching or optimisation plugin is stripping the script. Exclude the page from JavaScript optimisation.
Frequently asked questions
Does this form know which property the visitor was looking at?
No. It is a general form. The lead forms on a property page carry the listing details with them, which is why they are a separate thing.
Are submissions stored in WordPress?
No. They are emailed to the recipients you set. Keeping a record means forwarding them into your own system or CRM.
Can I send different forms to different addresses?
Not per block. Contact form recipients is site wide and accepts several comma separated addresses, all of which receive every submission.
Can I add a file upload?
No. The available types are Text, Email, Phone, Message, Dropdown, Radio buttons and Checkbox. A dedicated form plugin is the right tool when you need uploads.
Related
- The Design Settings page
- The Search Form block
- Property page building blocks
- Building your pages: blocks, shortcodes and Elementor widgets
Send us the page holding the form and we will check the recipients and the mail path.