FORMSUBMIT DOCUMENTATION

_replyto

This value is used for the email's Reply-To field. This way you can directly "Reply" to the email to respond to the person who originally submitted the form.

<input type="hidden" name="_replyto">

To activate this feature your form should request the user's email address.

<input type="email" name="email" placeholder="Email Address">

_next

By default, after submitting a form the user is shown the FormSubmit "Thank You" page. You can provide an alternative URL for "Thank You" page.

<input type="hidden" name="_next" value="https://yourdomain.co/thanks.html">

_subject

This value is used for the email's subject, so that you can quickly reply to submissions without having to edit the subject line each time.

<input type="hidden" name="_subject" value="New submission!">

_cc

This value is used for the email's CC Field. This lets you send a copy of each submission to another email address.

<input type="hidden" name="_cc" value="another@email.com">

If you want to CC multiple email addresses, then just make it a list of email addresses separate by commas.

<input type="hidden" name="_cc" value="another@email.com,yetanother@email.com">

_honey

Add this "honeypot" field to avoid spam by fooling scrapers. If a value is provided, the submission will be silently ignored. The input should be hidden with CSS.

All forms come with reCAPTCHA, which uses advanced machine learning techniques to distinguish between humans and bots, so for most forms this isn't necessary.

<input type="text" name="_honey" style="display:none">

Disable reCAPTCHA _captcha

Don't want your users to complete a reCAPTCHA? Each form now comes with the option to disable the reCAPTCHA, so you can maintain complete control over your form. You can even keep reCAPTCHA on a few forms that might be suceptible to spam, while disabling it on others.

<input type="hidden" name="_captcha" value="false">

_autoresponse

You can send an instant response to your users with a copy of the submission. Add a custom message to the email body.

<input type="hidden" name="_autoresponse" value="your custom message">

To activate this feature your form should request the user's email address.

<input type="email" name="email" placeholder="Email Address">

_template

You can select an email template from 3 different templates. By default, FormSubmit uses the basic template.

<input type="hidden" name="_template" value="table">

View all templates here →

_webhook

This feature allows you to configure a webhook that will be triggered each time a form receives a new submission. Webhooks can be used to manipulate data in real-time.

<input type="hidden" name="_webhook" value="https://yourdomain.co/your-webhook">

sample webhook response

{ "form_data": { "name": "Devro LABS", "email": "hello@devrolabs.com", "message": "hello! there" } }

Invisible emails

Get a random-like string to replace your naked email address in the action attribute of your form. Your email address will remain unknown to spam-bots and human visitors.

This random string will send to you when you confirm your email address.

<form action="https://formsubmit.co/your-random-string" method="POST" />

File uploads

FormSubmit allows you to upload files to your form natively. File upload allows you to collect information that may not otherwise be expressed well in text-based HTML input fields.

All HTML forms have a default attribute called "enctype" that you need to override. In the form declaration, you need to set "enctype=multipart/form-data".

<form method="POST" action="https://formsubmit.co/your@email.com" enctype="multipart/form-data">
<input type="email" name="email" placeholder="Your email">
<textarea name="message" placeholder="Details of your problem"></textarea>
<input type="file" name="attachment" accept="image/png, image/jpeg">
<button type="submit">Send Test</button>
</form>

AJAX Forms

You can use AJAX to submit your forms — this even works cross-origin.

$.ajax({
url: "https://formsubmit.co/ajax/your@email.com",
method: "POST",
data: {message: "hello!"}
});

Unlimited forms and submissions

You can have unlimited submissions from unlimited forms you created.

For one email you can create unlimited forms and also you can receive unlimited submissions.

Access to submissions archive

If you ever missed a submission email, for any reason, you can still get your all submissions, all listed and timestamped with full data.

You can access your submission archive through our API for free.

Read our API Documentation →