UG-O-05 · Build a form and put it on your site

Book: Owner · Applies to: web dashboard · wp-admin · your website · Since: v0.4 (phase P4)

What you'll get: a form on your website (a contact form, a sponsor request, a feedback survey) whose every submission becomes a contact in your CRM, with its tags and, if you want, a deal on a pipeline. No copy-paste from email, no spreadsheet.

Before you start

  • Your WordPress site is connected (see UG-O-01). Every form belongs to one connected site and only accepts submissions from it.
  • Your role is Owner, Admin, Manager or Marketing: these roles can build forms.
  • Tags you want to add automatically already exist (see UG-U-03), and so does the pipeline that should receive the deals (see UG-U-05).
  • Build forms on a computer: on a phone the builder is read-only.

Create the form

  1. Go to CRM → Forms (in wp-admin or on app.piporex.com) and click + New form.

    The Forms page: each form with its status, what happens after submit, and its submissions

  2. Give it a name (visitors don't see it), pick the Site if you have more than one, and choose a Form type:

    • Lead / contact — a contact or newsletter form.
    • Sponsor request — for companies that want to sponsor or exhibit.
    • Event feedback — a survey after the event, with a 0–10 score. It is offered when the Events module is on (see UG-U-05).
  3. Click Create form. The builder opens with a first name and an email field. It is a Draft: nobody can send it yet.

Add fields and map them to the contact

The builder has three columns: Fields to add on the left, the live preview in the middle, and the editor of the selected field on the right. Everything saves by itself; the top shows All changes saved.

  1. Click a field type under Fields to add it: Text, Phone, Number, Dropdown, Checkbox, Date, Paragraph, Hidden or Score 0–10 (NPS).

  2. Reorder fields by dragging them in In this form, or focus one and use Space and the arrow keys.

  3. Select a field to edit its Label, Placeholder, Help text and whether it is Required. A Dropdown or Checkbox takes its Options, one per line.

  4. Under Maps to contact field, choose where the answer goes on the contact: First name, Last name, Phone, or one of your custom fields (see UG-U-02). Each submission writes the answer to the contact. Don't save on the contact keeps the answer with the submission only (for example a message or a "package of interest").

    The builder: field list, live preview, and the editor of the selected field

The Email field is always there and can't be removed: it is how Piporex knows whether the person is already a contact. A second submission from the same email updates that contact instead of creating a new one: answers the visitor filled in replace what the contact had, empty answers leave it alone.

Validation rules

Under Validation the field editor offers rules that the visitor's browser checks before sending, and the CRM checks again:

  • Text and paragraph: Min length, Max length, and a Format (Digits only, Letters only, Letters and digits, Web address).
  • Number: Min and Max.
  • Email: Block free email domains refuses Gmail, Outlook, Yahoo and similar addresses — useful for sponsor or B2B forms.
  • Error message replaces the standard text shown when a rule fails (for example "Please use your work email").

A field with a problem is marked Fix in the list, and the form is Not saved until it is fixed.

Hidden fields

A Hidden field is filled on the page, not by the visitor. Its Value is fixed text, or {{utm_source}} (or another utm_… name) to take it from the page address, so you see which campaign brought each submission.

The score field (0–10)

Score 0–10 (NPS) shows the numbers 0 to 10; visitors pick one with the mouse or the arrow keys. You can rename the end labels (Label at 0, Label at 10). The scale itself is fixed. On an Event feedback form, the Main score in Settings is the one whose average shows as the event's feedback score once event plugins connect.

Decide what happens after submit

Open the After submit tab:

  1. After submit — Show a message (a thank-you text in place of the form) or Go to a page (a full address starting with https://, such as your own thank-you page).
  2. Automatic tags — added to the contact on every submission (up to 20).
  3. Pipeline — switch on Create a deal and pick the Pipeline and the Stage. Every submission then puts a new deal for that contact on the board, for example in Lead on your Sponsorship pipeline.

After submit: the thank-you message, the automatic tag and the deal in the Sponsorship pipeline

Publish and embed

  1. Click Publish. The form is Live and accepts submissions. Pause stops it at once (visitors see "This form is not available"); Resume brings it back.

  2. Click Embed and pick the way that fits your page:

    • Shortcode — [piporex_form id="…"]. Paste it into any WordPress page, post or widget on the connected site.
    • Block editor — add the CRM Form block and pick the form.
    • Any other site (HTML) — a short snippet for a site that is not WordPress (a landing-page builder, a static site). Paste it into the page HTML where the form should appear.

    Embed this form: shortcode, block and HTML snippet

  3. Click Copy, paste it on your page, and save the page. The form appears in your site's fonts and text colour.

    The live form on a WordPress page

Once a form is live, the builder shows This form is live. Changes reach your site as soon as they are saved. Fix a typo freely, but think twice before removing a field people are filling in right now. A field's Key is fixed once the form has been published, because the answers are stored under it.

See the submissions

On Forms, the Submissions count of a form opens its submissions (or open the form and choose Submissions). Each row shows how it arrived:

  • Direct — the visitor's browser sent it straight to the CRM. This is almost every submission.
  • Via fallback — the CRM could not be reached for a moment, so your WordPress site kept it and sent it a few minutes later. Nothing is lost; see UG-O-06. The Via fallback column on Forms counts these per form.
  • Needs review — the spam check could not load in the visitor's browser (an ad blocker or a bad network). The submission is kept, but no contact, tag or deal is created until you approve it. Click Approve to create them, or Mark as spam to delete the submission.

Submissions with the Direct, Via fallback and Needs review badges

Click a row to read every answer, the page it was sent from and the spam check result; Open contact goes to the person's profile. Export CSV downloads the loaded rows, one column per field (Owner, Admin and Manager).

The line spam attempts blocked today · not stored counts what the honeypot and the spam check stopped. Those attempts are never saved and never become contacts.

What happens next

  • A submission creates or updates the contact within seconds; it shows on the contact's timeline with the form's name, its tags are added and the deal appears on the board, live for everyone who has it open.
  • Each form only accepts submissions from its own site. Spam is held back by an invisible check (Cloudflare Turnstile), a hidden trap field and a limit on how often one visitor can send the same form.

If you get stuck

  • The form doesn't show on my page. Check that the form is Live (a Draft or Paused form shows "This form is not available"), that the shortcode is on a page of the connected site, and that a caching or optimisation plugin isn't removing scripts from that page. Clear the page cache after adding the form.
  • The CRM Form block says "The CRM could not be reached." The block's form picker needs a part of the service that comes in a later update. Use the Shortcode from Embed meanwhile: it works on every page, inside the block editor too (the Shortcode block).
  • Submissions wait in Needs review. The spam check didn't load for those visitors. Open each one, then Approve or Mark as spam. Nothing reaches your contacts or pipeline until you approve. In this early version the spam check is not switched on for every site yet, so you may see more of these than later.
  • A submission shows "Spam check degraded". It came through the fallback queue so late that its spam-check token had expired. It was kept and processed as usual; the badge only tells you it could not be checked twice. See UG-O-06.
  • "Not saved: fix the marked fields". A field in the list shows Fix: an empty label, a duplicate key, a dropdown without options, or two fields writing to the same contact field.
  • "Connect a WordPress site first". Forms belong to a site. Connect one (see UG-O-01), then create the form.

Release notes: v0.4 — article created (P4).

← All guides