Elements

Contact form, messages and maps

The Contact form sends messages by email and keeps every one under Kufi → Messages, with spam protection built in. The Map shows an address and loads only when a visitor asks for it.

These are in the Forms & maps group of the Elements panel.

Contact form

Every form asks for Name, Email and Message. You choose the rest.

Setting What it does
Send messages to The address that receives the emails. Empty: the site's admin email.
Email subject The subject of the email you receive.
Ask for a phone number, Phone is required Adds a phone field, optional or required.
Ask for a company, Ask for a subject Optional extra fields.
Choices (optional) Up to 20 tick boxes, such as the services a visitor needs, with a Question above the choices. Visitors can tick more than one turns them into checkboxes; off makes them single-choice.
Require a privacy checkbox Visitors must tick it to send. Edit its Checkbox text, and link your privacy policy in it.
Button label, Thank-you message What the button says and what visitors see after sending.
Layout (Style tab) One column, or two columns for short fields.
Labels tab The label of every field, and the word shown after optional fields.

Where messages go

  1. The message is saved under Kufi → Messages first.
  2. Then it's emailed to the address in Send messages to. The visitor's email is set as Reply-To, so you can reply directly.

Because the message is saved before sending, nothing is lost if email delivery fails. To make emails arrive reliably, set up email (SMTP).

Spam protection

Every form has these, with nothing to set up:

  • A hidden trap field that bots fill in and people never see.
  • A minimum time to fill in the form, which stops instant bot submissions.
  • A signed token, so the form can't be posted from another site.
  • A limit per visitor: 5 messages every 10 minutes by default. Change it under Kufi → Settings → Form submissions.

Visitors who hit the limit see "Too many messages in a short time. Please try again in a few minutes." If a visitor sees "This form has expired. Reload the page and try again.", the page was open for a very long time or was served from an old cache; reloading fixes it.

The form works without JavaScript too.

Map

Setting What it does
Map service OpenStreetMap or Google Maps.
Latitude and Longitude OpenStreetMap: the map's center. Find them by right-clicking a place on openstreetmap.org and choosing "Show address".
Address or place Google Maps: an address or a place name.
Zoom 3 (continent) to 19 (street).
Height Per device: 420px on computers and 320px on phones to start.
Text before loading, Button label What visitors see before the map loads.

The map loads from the outside service only when the visitor clicks the button. Nothing is sent to Google or OpenStreetMap before that, which keeps pages fast and helps with privacy rules.

More in Elements

Still need help?

Tell us what you are trying to do and what you see. We read every message.