Docs

WordPress and Elementor

The FormHam plugin renders your forms with a shortcode, block or Elementor widget, and can send the forms you already have through FormHam.

Install

  1. In FormHam, open any form and go to its Implementation tab.
  2. Click Download WordPress plugin. The zip is built for your account and carries a one-time code that connects it; you do not need to copy any keys.
  3. In WordPress, go to Plugins → Add New → Upload Plugin, choose the zip, then Activate. On activation the plugin exchanges its one-time code for its own credential. The code expires after 72 hours, so install the zip soon after downloading it (or download a fresh one).

Requires WordPress 5.5 or later and PHP 7.4 or later. The plugin is distributed from your FormHam account rather than the WordPress plugin directory, and updates itself through WordPress's normal update screen.

Connect or reconnect

In WordPress, open Formham → Settings and press Connect to FormHam. Sign in, check the site address shown, choose the account and confirm; you are returned to WordPress. If the site is not served over HTTPS, or the redirect does not suit you, create a connection code and paste it into the settings screen. A code works once and expires after 15 minutes.

Show a FormHam form

  • Shortcode: [formham uuid="YOUR-FORM-ID"], optionally with submit="Send enquiry" for the button text.
  • Block editor: add the FormHam block and choose the form.
  • Elementor: drag the FormHam widget onto the page and choose the form.

Send your existing forms from the server

From plugin version 2.13.0, your WordPress server can send FormHam a copy of each entry after Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Fluent Forms or Elementor Pro forms has accepted it. It is off until you switch it on.

  1. Under Formham → Settings, choose a default form.
  2. In Send from the server, tick each form plugin you want, and optionally give it its own FormHam form.
  3. Save, then submit a test entry and check Recent server deliveries at the bottom of the screen.
  • The original plugin still sends its own email and shows its own messages.
  • A copy is kept in WordPress first. If FormHam cannot be reached, delivery is retried twice using WordPress's scheduled tasks.
  • Password, card and anti-spam fields are left out. Uploaded files are not attached; at most a link the form plugin recorded is sent.
  • Browser capture is switched off for any plugin sent from the server, so nothing arrives twice.
  • On a static export there is no WordPress server to send from, so browser capture is used instead.

Capture in the browser

The alternative is for the visitor's browser to take a copy of each submission, without you rebuilding anything. Supported: Elementor Pro forms, Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable and MetForm. Each has two switches on the plugin's settings page:

  • Capture (on by default) sends FormHam a copy while the original plugin carries on as before. The safest way to start.
  • Intercept (off by default) makes FormHam handle the submission instead of the original plugin. Use it once you are happy, or when the original plugin's email is the thing that is broken.

Each captured form appears in FormHam as its own form, named after where it came from — for example “Elementor: Contact Us”.

Static exports (Simply Static and similar)

On a static copy of a WordPress site there is no WordPress left to run the original form plugin, so intercept is switched on automatically there and submissions go straight to FormHam.

Elementor: the field that loses data

Form builders such as Elementor give every field a Name (Key) setting. If it is left blank, the field is rendered with name="" and the browser discards whatever the visitor typed into it. FormHam's nightly check looks for exactly this, but it is quicker to make sure every field has a key when you build the form.