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.

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="[email protected]">

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="[email protected],[email protected]">

_blacklist

Add this "blacklist" field along with a list of comma-separated phrases to filter out spam content from your submissions. Hence submissions that are containing given phrases will be completely disregarded while fooling spammers.

<input type="hidden" name="_blacklist" value="spammy pattern, banned term, phrase">

* We recommend a maximum of 20 phrases as more can slow down the submission process.

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">

* We highly recommend you use the reCAPTCHA (not to disable it) in order to avoid some technical limitations which we impose from time to time in order to filter out bots, spam, and other malicious programs.

_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">

_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">

* autoresponse won't work with forms that are disabled reCAPTCHA and forms that are submitting through AJAX.

_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": "[email protected]", "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/[email protected]" 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>

* You can use several file input fields within a form but the sum of each file size must not exceed the 5MB size limit.

AJAX Forms

You can easily submit the form using AJAX without ever having your users leave the page. — this even works cross-origin.

$.ajax({
    url: "https://formsubmit.co/ajax/[email protected]",
    method: "POST",
    data: {
        name: "FormSubmit",
        message: "I'm from Devro LABS"
    },
    dataType: "json"
});

View more AJAX examples here →

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. The number of times that you can access the API is limited to 5 times a day.

* We retain your form submissions for 30 days. Uploaded files won't retain or can't access through the API.

Read our API Documentation →