The form

This form uses several advanced fields:

  • _subject: sets a custom subject for the email
  • _replyto: sets a custom reply to field
  • _after: sets a URL to send the user to once the email is sent (in this demo, you will be redirected to
  • _honey: SPAM protection field

Instead of setting up an "_after" field, you can also setup a "_confirmation" field which holds a custom confirmation message shown to the user after submitting the form. This field can contain HTML as well.

Please enter an email address to send the form data to:

The code

<form method="post" action="//" method="post">
    <input type="hidden" name="_subject" value="Your custom subject here">
    <input type="hidden" name="_replyto" value="">
    <input type="hidden" name="_after" value="">
    <input type="text" name="_honey" value="" style="display:none">
    <input type="text" name="name" placeholder="Your name">
    <input type="email" name="email" placeholder="Your email">
    <textarea  name="message" rows="3" placeholder="Your message"></textarea>
    <button type="submit" class="btn btn-primary btn-embossed disabled">Submit Form</button>