Inicio - Documentación - POM Theme - 06 Forms - 6.1 Form recipes - Create a contact form

Create a contact form

This recipe creates a general enquiry form that routes a readable email to the site team. It uses one screen and does not require stored submissions unless the organization needs a WordPress-side record.

Build the questions

Open Forms → Add New, title the form “General contact”, and create one step with full-width rows.

Add:

Field Label Name Required
Text Name name Yes
Email Email address email Yes
Select Enquiry type enquiry_type When routing depends on it
Textarea Message message Yes
Checkbox Privacy acknowledgement privacy_consent When explicit acknowledgement is required
Submit Button Send message submit

Use help text to explain expected response time and any message-length limit.

Route the notification

  1. Open Notifications → Admin Conditional Routes.
  2. Edit or add a route.
  3. Enter the contact mailbox under To Email.
  4. Use an authorized site address for From Email.
  5. Set Reply To to {{field:email}}.
  6. Use a subject such as:
{{field:enquiry_type}} enquiry from {{field:name}}
  1. Enable Include Form Data.

If different teams own different enquiry types, create mutually exclusive conditional administrator routes.

Finish and test

  1. Write a specific success message under Messages/Behavior → Custom Messages.
  2. Configure the privacy clause and checkbox according to the site’s policy.
  3. Decide whether to inherit or override storage under Storage/Advanced.
  4. Save, publish, and add the form to a draft page with POM Form.
  5. Test each enquiry type while signed out.
  6. Reply to the notification and confirm it addresses the submitted email.

If the message arrives but Reply-To is wrong, correct the route rather than placing the visitor’s address in From Email.