Simple Example

Set your form's action-attribute to our server url with your email.

<form id="contactform" action="https://formsubmit.io/send/put your email here" method="POST">
    <input name="name" type="text" id="name">
    <input name="email" type="email" id="email">
    <textarea name="comment" id="comment" rows="3"></textarea>

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

    <input value="Submit" type="submit">
</form>
Add a "honeypot" field named "_formsubmit_id" to avoid spam by fooling spambots. If any value provided for this field, formsubmit will reject the submission. The input should be hidden.

Example with unique token

Set your form's action-attribute to our server url with a unique code generated from your email. Sign in into your account, go to settings and you will find a unique token corresponding to your email. It makes your email private from and protect you from spam-bot.

<form id="contactform" action="https://formsubmit.io/send/put your unique code here" method="POST">
    <input name="name" type="text" id="name">
    <input name="email" type="email" id="email">
    <textarea name="comment" id="comment" rows="3"></textarea>

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

    <input value="Submit" type="submit">
</form>
Add a "honeypot" field named "_formsubmit_id" to avoid spam by fooling spambots. If any value provided for this field, formsubmit will reject the submission. The input should be hidden.

Example with custom redirection

You'll need to include a hidden input with name="_redirect" and value containing your website url. Formsubmit redirects user to the url following form submission.

<form id="contactform" action="https://formsubmit.io/send/put your unique code here" method="POST">
    <input name="_redirect" type="hidden" id="name" value="https://your website url">

    <input name="name" type="text" id="name">
    <input name="email" type="email" id="email">
    <textarea name="comment" id="comment" rows="3"></textarea>

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

    <input value="Submit" type="submit">
</form>
Add a "honeypot" field named "_formsubmit_id" to avoid spam by fooling spambots. If any value provided for this field, formsubmit will reject the submission. The input should be hidden.

Need any help?

You can contact us by clicking contact us button below or tweeting with @formsubmitio

Contact Us