Squarespace Integration
Add webhooks, file uploads, and API access to your Squarespace site using Code Blocks.
Quick Setup
1. Create an Atlas Form
2. Add Code Block
In Squarespace:
3. Form HTML
html
<form action="https://atlasforms.app/f/abc123xyz" method="POST">
<div class="field-element">
<label>Name</label>
<input type="text" name="name" required>
</div>
<div class="field-element">
<label>Email</label>
<input type="email" name="email" required>
</div>
<div class="field-element">
<label>Message</label>
<textarea name="message" rows="4"></textarea>
</div>
<button type="submit" class="sqs-block-button-element">
Send Message
</button>
</form>Styling
Use Squarespace's CSS classes to match your site's style:
css
/* Add to Design → Custom CSS */
.field-element {
margin-bottom: 1rem;
}
.field-element label {
display: block;
margin-bottom: 0.5rem;
}
.field-element input,
.field-element textarea {
width: 100%;
padding: 0.75rem;
border: 1px solid #ccc;
}