Contact Form
A contact form is the most common use case for Formtorch. This recipe walks through a complete implementation: basic HTML form, React with inline feedback, and a Next.js server action.
HTML
Create a form in the dashboard
Sign in to app.formtorch.com , create a project, then create a form. Copy the endpoint URL. It will look something like https://formtorch.com/f/YOUR_FORM_ID.
Add the form to your page
<form action="https://formtorch.com/f/YOUR_FORM_ID" method="POST">
<label for="name">Name</label>
<input id="name" name="name" type="text" required />
<label for="email">Email</label>
<input id="email" name="email" type="email" required />
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" required></textarea>
<!-- Honeypot: hidden from real users, traps bots -->
<input
name="_honeypot"
type="text"
style="display:none"
tabindex="-1"
autocomplete="off"
/>
<!-- Redirect after submission -->
<input
name="_redirect"
type="hidden"
value="https://yoursite.com/thank-you"
/>
<button type="submit">Send message</button>
</form>Create the thank-you page
<h1>Message sent</h1>
<p>Thanks for reaching out. We'll reply within one business day.</p>
<a href="/">Back to home</a>Enabling email notifications
To receive an email for every submission, go to Form Settings → Notifications in the dashboard and add your email address. See Email Notifications for details.
Spam protection
The honeypot field (_honeypot) catches simple bots. Formtorch also runs TorchWarden on every submission: a scoring-based spam filter that checks IP reputation, submission velocity, and field patterns. Spam submissions are stored but flagged; they never trigger email notifications.
You can view spam submissions in the dashboard and mark false positives as legitimate if needed.