HTML Forms
The simplest way to use AirForm is with a standard HTML form. No JavaScript required.
Basic Form
<form action="https://airform.jossware.com/submit/YOUR_SITE_ID" method="POST">
<label for="name">Name</label>
<input type="text" name="Name" id="name" required>
<label for="email">Email</label>
<input type="email" name="Email" id="email" required>
<label for="message">Message</label>
<textarea name="Message" id="message"></textarea>
<button type="submit">Send</button>
</form>
Important: Field Names Match Airtable Columns
The name attribute on each input must match the column name in your Airtable table. If your Airtable table has a column called Full Name, use name="Full Name" on the input.
Redirect After Submission
If you configured a redirect URL on your site, users are sent there after submitting. AirForm appends a query parameter:
- Success:
https://yoursite.com/thanks?airform_status=success - Error:
https://yoursite.com/thanks?airform_status=error&airform_message=...
If no redirect URL is configured, AirForm shows a default success page.
Hidden Fields
You can include hidden fields to pass data that the user doesn't fill in:
<input type="hidden" name="Source" value="contact-page">
<input type="hidden" name="Plan" value="free">
Content Type
HTML forms submit as application/x-www-form-urlencoded by default. AirForm also accepts application/json — see the JavaScript guide.