Contact form template

The classic three-field contact form. Short forms get more replies, so this one asks only for what you need to answer.

Try it

This is a demo: nothing is sent.

Use it for: a general contact page, an About page or a portfolio.

HTML
<form action="https://api.formdoc.dev/v1/submit" method="POST">  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">  <input type="hidden" name="subject" value="New message from your website">   <label for="name">Name</label>  <input type="text" id="name" name="name" autocomplete="name" required>   <label for="email">Email</label>  <input type="email" id="email" name="email" autocomplete="email" required>   <label for="message">Message</label>  <textarea id="message" name="message" rows="5" required></textarea>   <!-- Spam trap: keep it hidden and empty -->  <input type="checkbox" name="botcheck" style="display:none" tabindex="-1" autocomplete="off">   <button type="submit">Send message</button></form>
  1. Get a free access key at app.formdoc.dev/new.
  2. Replace YOUR_ACCESS_KEY with it and paste the form into your page.
  3. Rename or remove fields freely: each field’s name becomes its label in your email.

Using a site builder or framework? See the platform guides.

Questions about this template

Can I add a phone number or company field?

Yes. Add another input with a name, for example <input type="tel" name="phone">. Every field that has a name is sent, and its name becomes the label in your email.

Where do the messages go?

To the email address you confirmed when you got your access key. Replying to the notification email replies straight to the visitor, because FormDoc sets the reply address to the email they entered.