FormDexSecure form operations
Try FormDex
FormDexSecure form operations

A product by MeshDex

FormDex is a secure form operations platform for collecting, validating, and routing website submissions. Manage protected endpoints, email notifications, webhook delivery, and submission history from one reliable workspace.

Product

PlatformPricingDocumentation

Access

LoginRegisterReset password

Legal

Privacy PolicyTerms of ServiceRefund PolicyContact Us
  1. Home
  2. Documentation
  3. Integration
Docs home

FormDex integration

Connect, protect, and test your form.

A complete production checklist for HTML, JavaScript, React, Node.js, cURL, and WordPress integrations.

End-to-end setup

1

Configure fields

Add important fields to the schema for validation. Enable Dynamic fields only when your frontend must send additional keys.

2

Copy the endpoint and API key

Open the form’s Integrate tab. Use the endpoint exactly as shown and keep the API key out of public repositories.

3

Add the honeypot

Use the exact Honeypot field name saved in FormDex. It must be an empty, visually hidden text input in browser-facing forms.

4

Allow your production origin

Add the full origin, for example https://example.com. Do not include page paths. Use Test mode only for temporary cURL or Postman checks.

5

Add captcha when enabled

Copy the generated provider script and widget markup. The public site key belongs in the browser; the secret stays saved in FormDex.

6

Run one real test

Submit from the production website, confirm it in Submissions, verify the notification email and webhook, then disable Test mode.

Choose your stack

Detailed integration articles

WordPress

Contact Form 7 routing, configuration, and debugging.

Read guide

HTML

Native form posts, honeypot, captcha, and attachments.

Read guide

JavaScript

Fetch requests, FormData, and response handling.

Read guide

React

Accessible state handling, honeypot markup, and safe submission.

Read guide

cURL

Safe endpoint and validation testing from a terminal.

Read guide

Node.js

Secure server-side proxy integration with Express.

Read guide

Honeypot protection

Hidden from people, attractive to bots

The honeypot is a normal text input that real visitors must never complete. FormDex checks the configured field name before validation; any non-empty value is rejected as spam. The field is removed before the accepted payload is stored, emailed, exported, or forwarded.

Do not use type="hidden" for the honeypot. Many bots deliberately ignore hidden-type inputs. Use a visually hidden text input, remove it from keyboard navigation, and keep it empty. Do not prefill it with a company name or placeholder value.

<div aria-hidden="true"
  style="position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;">
  <label>Leave this field empty
    <input
      type="text"
      name="company"
      tabindex="-1"
      autocomplete="off"
    />
  </label>
</div>
If your FormDex setting is not company, replace the example’s name with the exact saved value. Changing the setting without updating the frontend disables the intended trap.

HTML starter

Minimum native form connection

<form action="https://YOUR_FORMDEX_DOMAIN/api/forms/FORM_ID"
  method="POST" enctype="multipart/form-data">
  <input type="hidden" name="_api_key" value="YOUR_API_KEY" />

  <!-- Use the honeypot block shown below -->
  <input type="email" name="email" required />
  <textarea name="message" required></textarea>
  <button type="submit">Send enquiry</button>
</form>

The Integrate tab generates the current snippet for each form, including its saved honeypot name, captcha provider, and attachment setting. Prefer that generated snippet over copying this generic example.

Launch checklist

  • • Endpoint belongs to the correct form
  • • API key is active
  • • Field names match the schema
  • • Honeypot name matches exactly
  • • Production origin is allowed
  • • Captcha and webhook are tested

API key safety

Browser forms must submit the key, so restrict allowed origins and enable captcha for public traffic. Never commit a key to a public repository; rotate it if exposed.

More protection

Use the captcha guide for provider keys, the attachment guide for safe uploads, the dynamic fields guide for flexible payloads, and the webhook guide for signed delivery.