HTML Forms
The simplest way to collect form submissions. No JavaScript needed — just standard HTML.
Basic setup
<form action="https://api.webstadia.com/v1/fm/YOUR_FORM_ID" method="POST">
<input type="text" name="name" required>
<input type="email" name="email" required>
<textarea name="message"></textarea>
<button type="submit">Send</button>
</form>
All form fields are automatically captured and stored. Field names become the column headers in your dashboard.
Special fields
WebStadia recognizes special fields (prefixed with _) that control form behavior. These are not stored with the submission data.
_redirect — Custom redirect URL
After submission, redirect the user to a specific page instead of the default thank-you page:
<input type="hidden" name="_redirect" value="https://example.com/thank-you">
_subject — Email subject line
Customize the subject line of the notification email:
<input type="hidden" name="_subject" value="New contact form submission">
_gotcha — Honeypot spam protection
Add a hidden field that bots will fill out but humans won't. If filled, the submission is silently rejected:
<input type="text" name="_gotcha" style="display:none">
See Spam Protection for more details.
Complete example
<form action="https://api.webstadia.com/v1/fm/YOUR_FORM_ID" method="POST">
<!-- Honeypot (hidden from humans) -->
<input type="text" name="_gotcha" style="display:none">
<!-- Redirect after submission -->
<input type="hidden" name="_redirect" value="https://example.com/thanks">
<!-- Custom email subject -->
<input type="hidden" name="_subject" value="New inquiry">
<!-- Actual form fields -->
<label>
Name
<input type="text" name="name" required>
</label>
<label>
Email
<input type="email" name="email" required>
</label>
<label>
Phone
<input type="tel" name="phone">
</label>
<label>
Message
<textarea name="message" rows="4"></textarea>
</label>
<button type="submit">Submit</button>
</form>
How the response works
After a successful submission:
- If
_redirectis set → user is redirected to that URL - If no redirect → a simple "Thank you" page is shown with a link back to the referring page
Tips
- Use any field names you want — they all get captured
- Fields like
name,email,firstName,full_nameare automatically recognized for email notifications - The form works from any website, not just ones hosted on WebStadia
- You can have multiple forms on the same page, each pointing to different form IDs