Using FormBeep with Squarespace#
To use FormBeep on Squarespace, you will use a Code Block rather than Squarespace’s native Form Blocks.
Step 1: Add Allowed Domain#
Add the naked hostname of your live Squarespace site to the FormBeep Dashboard:
✔ example.com
✔ your-site.squarespace.com (if you don’t have a custom domain)
Step 2: Add a Code Block#
- Edit a page or a post on your Squarespace site.
- Click Add Block.
- Select Code under the Basic category.
- Delete the
<p>Hello World</p>placeholder. - Make sure the Mode dropdown is set to
HTML. - Turn OFF the “Display Source” toggle.
- Paste your form and the FormBeep snippet:
<form id="contact-form">
<input name="name" placeholder="Name" required>
<input name="email" type="email" placeholder="Email" required>
<textarea name="message" placeholder="What's on your mind?" required></textarea>
<button type="submit">Send to WhatsApp</button>
</form>
<script src="https://api.formbeep.com/v1/s/formbeep.js"
data-api-key="YOUR_API_KEY"></script>- Save the Code Block and Save/Exit the page editor.
Step 3: Test Live#
Squarespace disables JavaScript inside Code Blocks while you are logged in and editing the site as an admin.
To verify your form works:
- Open an Incognito Window.
- Navigate to your live page.
- Submit a test form.