Newsletter signup form template
A compact signup form with a consent checkbox, so you have a record that each person asked to hear from you. FormDoc emails you each signup; add them to your mailing tool from there or with a webhook on a paid plan.
Try it
Your email would look like this
From your website, via FormDoc
Use it for: a footer signup, a blog sidebar or a coming-soon page.
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 newsletter signup"> <label for="name">First name</label> <input type="text" id="name" name="name" autocomplete="name"> <label for="email">Email</label> <input type="email" id="email" name="email" autocomplete="email" required> <label><input type="checkbox" name="consent" value="Yes" required> I agree to receive emails and can unsubscribe at any time</label> <!-- Spam trap: keep it hidden and empty --> <input type="checkbox" name="botcheck" style="display:none" tabindex="-1" autocomplete="off"> <button type="submit">Subscribe</button></form>
- Get a free access key at app.formdoc.dev/new.
- Replace
YOUR_ACCESS_KEYwith it and paste the form into your page. - Rename or remove fields freely: each field’s
namebecomes its label in your email.
Using a site builder or framework? See the platform guides.
Questions about this template
Does FormDoc add people to my mailing list?
No. FormDoc emails you each signup. Add people to your email tool yourself, or on a paid plan send every signup to your own system with a webhook.
Why is there a consent checkbox?
It records that each person asked to hear from you. The box is required, so the form can’t be sent without it. Check the consent rules that apply where you and your subscribers are.