Docs / Plain HTML

A contact form with no backend and no JavaScript

The baseline every other recipe builds on. Create an endpoint on the landing page or with one curl, paste this form, done. Visitors without JavaScript get a hosted confirmation page; add a hidden _redirect field to send them back to your own thank-you page instead.

<!-- conForm contact form — plain HTML, no JavaScript required.
     Successful posts show a hosted confirmation page; add a hidden
     _redirect field with an https:// URL to return visitors to your site. -->
<form action="https://api.conform.centrst.com/f/cfm_7K4P9X2M8RWD3JNH" method="post">
  <div aria-hidden="true" style="position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;">
    <label for="cf-gotcha">Leave this field empty</label>
    <input id="cf-gotcha" type="text" name="_gotcha" tabindex="-1" autocomplete="off">
  </div>
  <p>
    <label for="cf-name">Name</label><br>
    <input id="cf-name" name="name" type="text" autocomplete="name" required>
  </p>
  <p>
    <label for="cf-email">Email</label><br>
    <input id="cf-email" name="email" type="email" autocomplete="email" required>
  </p>
  <p>
    <label for="cf-message">Message</label><br>
    <textarea id="cf-message" name="message" rows="5" required></textarea>
  </p>
  <button type="submit">Send message</button>
</form>

Replace the sample cfm_7K4P9X2M8RWD3JNH with your own form ID, or fetch this exact artifact personalized for your route:

curl 'https://api.conform.centrst.com/v1/routes/YOUR_FORM_ID/install?framework=html&raw=1'

What's already handled

Verify delivery

curl -sS -X POST https://api.conform.centrst.com/f/cfm_7K4P9X2M8RWD3JNH \
  -d 'name=Test&[email protected]&message=Hello from a test&_test=true'

The response returns test: true and the email arrives with a [Test] subject — proof without polluting real traffic.