How to add a form to Squarespace
Add a custom form to Squarespace with a Code block. FormTango receives the submissions, so you are not limited to the fields and storage of the built-in form block.
- 1
Create a free FormTango account and add a form. Copy its endpoint, which looks like https://formtango.com/f/YOUR_FORM_ID.
- 2
Edit the page, add a Code block and set it to HTML.
- 3
Paste the form below, replacing YOUR_FORM_ID. Save.
- 4
Submit the form once. The submission appears in your FormTango inbox and you get an email.
html
<form action="https://formtango.com/f/YOUR_FORM_ID" method="POST">
<label>Name <input type="text" name="name" required></label>
<label>Email <input type="email" name="email" required></label>
<label>Message <textarea name="message" required></textarea></label>
<!-- Spam trap: leave this hidden and empty -->
<input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
<button type="submit">Send</button>
</form>Good to know
- Code blocks are not on every Squarespace plan. Check that yours includes them.
What you get
- Every submission saved in an inbox you can search and export.
- An email for each one, with the visitor's address as the reply-to.
- Spam filtering without making visitors solve a puzzle.
- Problems? See troubleshooting.
Related guides
Last reviewed November 19, 2026.