Static Forms - Secure form backend and form endpoint for contact formsStatic Forms - Secure form backend and form endpoint for contact forms
  • Home
  • Features
  • Docs
  • Blog
  • Pricing
Register
  • Home
  • Features
  • Docs
  • Blog
  • Pricing
Documentation

Learn how to use Static Forms

  • Introduction
  • Quick Start
  • Basic Setup
  • How It Works
  • Form Basics
  • API Key
  • Redirects
  • Overview
  • Honeypot Field
  • reCAPTCHA
  • Cloudflare Turnstile
  • hCaptcha
  • ALTCHA
  • Overview
  • Application Forms
  • Form Submissions
  • Webhooks
  • Auto Responders
  • Custom Email Templates
  • AI Reply
  • CC Emails
  • Branding & Custom Domain
  • File Uploads
  • Domain Restriction
  • Custom Subjects
  • Reply-To Address
  • Overview
  • Slack
  • Discord
  • Make
  • n8n
  • Google Sheets
  • Notion
  • Airtable
  • Overview
  • React
  • Next.js
  • Vue.js
  • Angular
  • Svelte
  • Astro
  • Plain HTML
  • Netlify
  • Vercel
  • Cloudflare Pages
  • GitHub Pages
  • WordPress
  • Webflow
  • Wix
  • Complete Reference
  • Account Settings
  • Pricing Plans
  • Overage Billing
  • Common Issues
  • Debugging
  • CORS Issues
  • Email Delivery
  • FAQ
  • Get Support
  • Changelog
Support
Troubleshooting

Debugging Form Submissions

Tools and techniques for debugging form issues

Debugging form submission issues can be challenging. This guide covers tools and techniques to help you identify and fix problems with your Static Forms integration.

Browser DevTools

Browser DevTools are your best friend when debugging forms:

Network Tab

The Network tab shows all HTTP requests, including form submissions:

1

Open DevTools

Press F12 or Cmd+Option+I (Mac) / Ctrl+Shift+I (Windows/Linux) to open DevTools.

2

Go to Network Tab

Click the "Network" tab and ensure it's recording (red circle should be active).

3

Submit Form

Submit your form and look for the request to api.staticforms.dev.

4

Inspect Request

Click on the request to see:

  • Request URL and method
  • Request headers
  • Request payload (form data)
  • Response status code
  • Response body

Console Tab

Check the Console tab for JavaScript errors:

JavaScript

Testing Your Form

Systematic testing approach:

1. Test Form Structure

Verify your form has the required elements:

HTML

2. Test API Key

Verify your API key is correct:

  • Check it starts with sf_
  • Verify it's 35 characters long
  • Ensure no extra spaces or line breaks
  • Confirm it matches your dashboard

3. Test Form Submission

Submit the form and check:

  • Network request is made
  • Request goes to correct URL
  • Response status code (200 = success)
  • Response message

Common Mistakes

Avoid these common errors:

Wrong Form Action URL

Ensure the action is exactly https://api.staticforms.dev/submit (not http:// or a different path).

Missing Method Attribute

Always include method="POST". GET requests won't work.

API Key Typo

Double-check your API key for typos, extra spaces, or missing characters.

Missing enctype for File Uploads

If uploading files, add enctype="multipart/form-data" to your form.

Testing Checklist

Use this checklist when debugging:

Form action points to correct URL
Method is set to POST
API key is correct and included
No JavaScript errors in console
Network request is made successfully
Response status is 200 (success)
Email is received (check spam folder)

Debugging Tools

Useful tools for debugging:

Browser DevTools

Built-in browser tools for inspecting network requests, console logs, and DOM elements.

cURL

Test API requests directly from the command line to isolate issues.

Postman / Insomnia

API testing tools to manually test form submissions with different payloads.

Testing with cURL

Test your form submission directly with cURL:

Bash
Previous
Common Issues
Next
CORS Issues

Documentation

  • Introduction
  • Quick Start
  • Basic Setup
  • How It Works
  • Form Basics
  • API Key
  • Redirects
  • Overview
  • Honeypot Field
  • reCAPTCHA
  • Cloudflare Turnstile
  • hCaptcha
  • ALTCHA
  • Overview
  • Application Forms
  • Form Submissions
  • Webhooks
  • Auto Responders
  • Custom Email Templates
  • AI Reply
  • CC Emails
  • Branding & Custom Domain
  • File Uploads
  • Domain Restriction
  • Custom Subjects
  • Reply-To Address
  • Overview
  • Slack
  • Discord
  • Make
  • n8n
  • Google Sheets
  • Notion
  • Airtable
  • Overview
  • React
  • Next.js
  • Vue.js
  • Angular
  • Svelte
  • Astro
  • Plain HTML
  • Netlify
  • Vercel
  • Cloudflare Pages
  • GitHub Pages
  • WordPress
  • Webflow
  • Wix
  • Complete Reference
  • Account Settings
  • Pricing Plans
  • Overage Billing
  • Common Issues
  • Debugging
  • CORS Issues
  • Email Delivery
  • FAQ
  • Get Support
  • Changelog
Static Forms - Secure form backend and form endpoint for contact formsStatic Forms - Secure form backend and form endpoint for contact forms

The fastest way to add working contact forms to any website. No backend required.

Product

  • Features
  • Pricing
  • Documentation
  • Changelog

Resources

  • Blog
  • Examples
  • Templates
  • Tools
  • Integrations
  • reCAPTCHA Guide
  • FAQ

Alternatives

  • All Alternatives
  • Formspree
  • Netlify Forms
  • Typeform
  • Formspark

Company

  • Contact
  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA

© 2026 Static Forms. All rights reserved.

Committed to sustainability