Use Form Blocks to collect information from visitors. With this block, you can create contact forms, surveys, polls, applications, and other types of forms.
For help with common Form Block issues, visit Troubleshooting form issues.
Before you begin
- To ensure you receive form submissions, add a storage option.
- Forms sent over SSL-enabled domains are encrypted. To ensure SSL is enabled on your domain, visit Understanding SSL certificates.
- Form Blocks can't be used as part of a HIPAA compliant solution. To collect secure patient information, we recommend using Squarespace Scheduling.
Watch a video
Add a Form Block
To add a Form Block:
- Edit a page or post, click an insert point, and click Form from the menu. For help, visit Adding content with blocks.
- In the Content tab of the block editor, set up your form and add a post-submit message or redirect. You can also add Google reCAPTCHA if you want.
- Click Design to customize your form's layout.
- Click Storage to add a storage option. Form Blocks won't function without at least one storage option set up, so ensure you add one to your form.
Set up your form
When you add a Form Block, it includes a default form name, default button text, and some default fields (Name, Email, Text, Text Area) in the Content tab to help you get started.
To set up your form:
- Delete New Form in the Form Name field and enter a name for the form. The form name only appears to visitors if you set the form to open in a lightbox.
- The default Button Text is Submit. If you want it to be something different, delete Submit and enter new text.
- Click Edit Form Fields to manage your form's fields. To add a new field, click Add Field. To rearrange or delete fields, click Edit in the top-right corner.
- To edit individual fields, click the field in the Edit Form Fields panel. Depending on the field type, you can add a label and description, make it required for submission, add selection options, or delete it.
Keep in mind:
- If you have multiple contact forms on Squarespace, we recommend using a descriptive form name to help you identify form submissions you receive.
- Description text won't appear with submitted forms.
- We recommend a limit of 30 fields to keep your form easy for visitors to complete. This is also the field limit for forms connected to Mailchimp.
- To learn about field options, visit Form fields explained.
Add a post-submit message or redirect
To add a post-submit message or redirect, click Post-Submit in the Content tab.
To add a post-submit message, click Message and enter your text in the message field. This text displays after a visitor submits the form.
In the HTML field, you can add HTML code to render alongside the post-submit message. Keep in mind, if your form has a post-submit redirect, the post-submit message won't display.
Note: Adding post-submit HTML is an advanced modification, and we're unable to troubleshoot custom code issues.
To set up a post-submit redirect, click Redirect. To redirect to another website, paste the full URL in the Redirect URL field.
To test a post-submit redirect, submit a form while logged out or in an Incognito browser. Post-submit redirects won't work while logged into your site.
To remove a post-submit redirect, delete the link from the URL field.
Customize your form's layout
In the Design tab, you can set the Button Alignment to Left, Center, or Right.
If you want the form to open in a pop-up lightbox when visitors click a button displaying on the page, switch the Lightbox toggle on. You can also customize the Open Button Text.
The lightbox form has a fixed style. It's not possible to change the font, colors, or submit button.
Add a storage option
To choose where to send form submissions, click the Storage tab. You can connect Form Blocks to an email address, Mailchimp, Zapier, or Google Drive.
To learn more, visit Managing form and newsletter storage.
Style the Form Block
You can style some elements of your Form Blocks. Your options depend on your site's version.
To style the block's fonts:
- While editing a page, open Site Styles, then click Fonts.
- Under Global Text Styles, click Assign Styles.
- Scroll to the Form Block section and click each font option to change the style. Keep in mind, if your Form Block doesn't include certain elements, like a Select field with a drop-down menu, you may not see a change.
- To return to Site Styles, click Back, then click Site Styles, or hover over Done and click Save if you're done making style changes.
To style the block's colors:
- While editing a page, open Site Styles, then click Colors.
- Hover over your color theme and click the pencil icon.
- Scroll to the Form Block section, or click the Form Block on your site to show all relevant tweaks.
- After making changes, hover over Done and click Save.
If you add a post-submit message, the text follows these style options:
- Font - Paragraph settings in the Fonts panel
- Size - Paragraph 2 slider in the Paragraphs section of the Fonts panel
- Color - Paragraph (Medium) color in the chosen section theme
Form Block spam
You may receive occasional spam through your Form Block. Be aware of people pretending to be Squarespace or asking for personal information.
If we detect a form submission containing suspicious content, you'll see a warning at the top of the email, but review every submission carefully and avoid clicking suspicious links.
For an extra layer of security, you can set up Google reCAPTCHA in your Form Block. Click Google reCAPTCHA in the Content tab to begin this process. For next steps, visit Adding Google reCAPTCHA to forms.
To learn more about form spam in general, visit Preventing Form and Newsletter Block spam.
Track Form Block submissions
To see how visitors engage with your forms, use Form & Button Conversions Analytics. You can track your form submission conversion rate, which compares the number of times a form was viewed with the number of submissions it received.