A Squarespace Code block can hold a plain HTML form that posts to FormKeep. It uses no JavaScript or iframe, which Squarespace limits to some plans.
https://formkeep.com/f/YOUR-TOKEN.action. Leave "Display Source" off, or the form shows as text.<form action="https://formkeep.com/f/YOUR-TOKEN" method="POST">
<p><label>Email<br><input name="email" type="email" required></label></p>
<p><label>Message<br><textarea name="message" required></textarea></label></p>
<p><button type="submit">Send</button></p>
</form>
The browser posts the form and is redirected: to the redirect URL set in the form's Redirects tab in FormKeep ("Redirect to your site"), or to FormKeep's own thank-you page if none is set. A plain form post gets no JSON.
Add a file field and enctype="multipart/form-data" to the form. Each file can be up to 10 MB, and whether attachments are kept depends on your plan.
{"error":"This form is not accepting submissions."}. The form has been switched off. Switch it back on, or use another form.