Skip to content
    Guide

    Building forms and managing submissions

    Last updated

    The Forms module builds contact forms, enquiry forms and sign-up forms on your WordPress site. Forms are accessible (they work well with screen readers and keyboards), use no JavaScript on your pages, and stop spam without a CAPTCHA puzzle.

    You build and edit forms in WordPress. MaintainHQ lets you see and manage submissions, notification emails and spam settings for every site in one place, and Gus can place a form on a page for you.

    Switching Forms on

    Open the site page in MaintainHQ and choose Content, then Forms. Press "Install and switch on Forms" (or "Switch on Forms"). The screen then has four tabs: Forms, Submissions, Notifications and Settings.

    In WordPress, Forms has its own menu item with All forms, Submissions and Settings.

    Building a form in WordPress

    1. In WordPress, go to Forms and press "Add form". A new form starts with Name, Email and Message fields.
    2. Under Fields, press "Add field" and choose a type. Use Move up and Move down to reorder.
    3. For each field, set the label, a Key (used in emails, placeholders and exports), whether it is Required, and the options for that type.
    4. Set the Button text.
    5. Under After sending, write a Thank-you message, or choose "Or send visitors to this page" to send them to a thank-you page.
    6. Optionally write a "Message when closed", shown when you close the form to new submissions.
    7. Set up Notifications (see below) and save.
    Field types
    TypeUse it for
    Text, Email, PhoneSingle-line answers. Email and Phone are checked for a sensible format.
    ParagraphLonger messages. "Most characters" sets a limit.
    Drop-down, Radio buttons, CheckboxChoices. Enter options one per line. A checkbox can be single or a group.
    NumberNumbers, with Lowest, Highest and Step.
    DateDates.
    File uploadAttachments. Set the file types (for example pdf, jpg) and the largest file in MB, up to 20.
    HiddenA fixed Value sent with every submission, for example where the form sits.
    ConsentA tick box with your Consent wording, for example agreement to your privacy policy.

    Every field can also have a Placeholder and Help text. Use "Copy" in the forms list to duplicate a form.

    Putting a form on a page

    There are three ways:

    • In the block editor, add the Form block and choose the form.
    • Paste the form’s shortcode, for example [mhqst_form id="3"]. In MaintainHQ, the Forms tab has a copy button next to each shortcode.
    • In MaintainHQ, press "Ask Gus to add this form to a page". Gus asks where if you have not said, then drafts the change for you to approve.

    Gus can place a form on one or more pages, in a block theme template (for example under the content of every page), in a template part such as the footer, or inside an Elementor, Bricks, Divi or WPBakery layout. All the places go into one fix plan. As with every Gus change, nothing changes until you approve it for staging or production, the page is backed up first, and the change is put back automatically if the form does not show properly.

    What visitors see

    Every answer is checked on the server when the form is sent. If something is wrong, the errors appear at the top of the form with links to each field, and the visitor’s answers are kept so they do not have to start again. Required fields say "(required)" in text, not just with a symbol, and the confirmation is announced to screen readers.

    Uploaded files are stored under random names in a folder that cannot be reached from the web, and only admins can download them.

    Working with submissions

    The Submissions tab shows each submission with when it was Sent (UTC), the Form and a Summary. New ones are marked New, and the tab heading shows how many are new.

    • Filter by Form, or Search for a name, email address or words in a message.
    • Press View to read a submission in full. From there you can "Mark as new", Delete it, or "Open in WordPress" to download any attached files.
    • Tick several and press "Delete ... selected". Deleting also deletes any files sent with them, and cannot be undone.
    • Choose a form and press "Export CSV" to download its submissions as a spreadsheet file. The export is safe to open in a spreadsheet program. Very large exports are best done from WordPress.

    On the Forms tab, the Open switch closes a form to new submissions without removing it from the page.

    Notification and confirmation emails

    On the Notifications tab, choose a form, then set:

    Notification settings
    SettingWhat it does
    Email each submissionSends each submission to you or your team.
    Send toAddresses, comma separated. Leave empty to use the default from Settings, or the site’s admin email.
    SubjectYou can use {form}, {site} and {field:key}, for example {field:name}.
    Send the sender a confirmationEmails the visitor. The form needs an Email field for this.
    Confirmation subject and messageWhat the visitor receives.
    Send these emails withMaintainHQ Email, or the site’s WordPress mail.

    Notification emails set the reply-to address to the visitor, so you can reply directly.

    MaintainHQ Email is the default choice. It is used when the Email tool is on and connected; until then, WordPress mail sends the emails and the setting says so. Choose "The site’s WordPress mail" if a form must always use the site’s own mail settings, for example an SMTP plugin the client relies on. Press "Save notifications".

    Spam protection, privacy and settings

    Spam protection is built in, with no CAPTCHA and no outside service: a hidden field that only bots fill in, a minimum time to fill in the form, and an hourly limit per visitor. The Settings tab shows how many sends each check caught, and how many emails could not be sent.

    Forms settings
    SettingWhat it does
    Send submissions toThe default address for forms with no addresses of their own.
    Shortest time to fill in a form (seconds)Faster sends are treated as spam. 0 switches the check off.
    Sends per visitor per hour0 switches the limit off.
    Delete submissions after (days)Deletes old submissions automatically. 0 keeps them until you delete them.
    Store a hashed visitor address with each submissionKeeps a scrambled version of the visitor’s IP address, which cannot be turned back into the address.

    For privacy requests, WordPress’s own Export Personal Data and Erase Personal Data tools (under Tools in wp-admin) find form submissions by email address. Forms also suggests text for your privacy policy.

    Frequently asked questions

    Can I build forms from MaintainHQ?
    Not yet. Build and edit forms in WordPress under Forms. MaintainHQ handles submissions, notifications, settings and placing forms with Gus.
    Do I need a CAPTCHA?
    No. A hidden field, a minimum fill-in time and an hourly limit stop most spam without asking visitors to solve a puzzle.
    Will a deploy from staging delete production submissions?
    No. Submissions are live data and are kept on production. The forms themselves do deploy, so a form built on staging goes live.
    Why is no confirmation email being sent?
    A confirmation goes to the first Email field on the form. If the form has no Email field, there is nobody to send it to.

    Let MaintainHQ run the routine

    Updates with automatic rollback, backups, uptime, security checks and client reports, with Gus to fix what breaks.

    Start free trial

    From £29 a month for up to 2 sites. Every plan starts with a 14-day trial.