Skip to content
SubmitYourForm
TEMPLATE #01

Simple Contact Form

Name, email and message, with a hidden honeypot field that sends bot submissions to Spam.

HTML Tailwind React 3 fields · Honeypot

Live preview

Sandboxed
<form action="https://app.submityourform.com/f" method="POST">
  <!-- Your form key from the SubmitYourForm dashboard. It is public: it only lets people send to this form. -->
  <input type="hidden" name="_form_key" value="YOUR-FORM-KEY" />
  <!-- Honeypot: hidden from people. Submissions that fill it are filed as spam. -->
  <input type="text" name="_honeypot" tabindex="-1" autocomplete="off" style="display:none" aria-hidden="true" />

  <div>
    <label for="f-name">Full name</label>
    <input id="f-name" type="text" name="name" required />
  </div>
  <div>
    <label for="f-email">Email</label>
    <input id="f-email" type="email" name="email" required />
  </div>
  <div>
    <label for="f-message">Message</label>
    <textarea id="f-message" name="message" rows="4" required></textarea>
  </div>

  <button type="submit">Submit</button>
</form>

Replace YOUR-FORM-KEY with the form key from your form's Setup page (in the app, forms are called Endpoints). The form key is public; never put your REST API key (syf_live_…) in browser code.