This guide will teach you how to use FormDen to process an existing HTML form that you have coded. You can also check out the video at the end of this page for step-by-step instructions.

  1. Create an account

    Go to the registration page to create an account. All plans include a 7 free trial so you evaluate our service (and easily cancel if needed). You will be logged in upon completion.

  2. Delete the current form and create a new form

    You will start on the "Builder" tab with a simple contact form. Delete this form and create a new form with a suitable name.

  3. Change your form's POST action and add formden.js to your webpage

    Since you already have a form, you won't need to use the form builder. Instead, you'll replace the action in your form with the unique url at the top of the screen.

    Then, add the external file to your page. This JavaScript file communicates with the server to validate form fields when a user submits the form. It is required.

    The form on your webpage should look like this:

    <script type="text/javascript" src=""></script>
    <form action="" method="post">
    	<!-- Your form inputs here  -->

    Notice that an 8-digit unique id identifies each form. This form's id is 1234abcd. Each form you process will have a different id.

  4. Prepare your form for validation errors

    If your form is rejected due to validation errors, formden.js will edit your form to display error messages. This happens automatically. Here are a few things you should know:

    • You must wrap every field in a container element. For example:
      <div> <!--container div -->
      	<label>Name</label><br />
      	<input type="text" name="Name">
    • If there are errors, an error message with the class .help-block will be inserted below each rejected field (and within the container). Also, the field container div will be given the class .has-error. Here is what a field with errors looks like:
      <div class="has-error"> <!--container div -->
      	<label>Name</label><br />
      	<input type="text" name="Name">
      	<p class="help-block">Error message here</p>
    • You can use CSS to style the errors based on these classes. For example, you might add:
      	.has-error{color: red;}
      	.help-block{font-style: italic;}
      to your webpage.
    • Advanced Tip
      You can manually specify where the error message should appear by adding an element with the class .error anywhere within the container div.
  5. Tell us how to process the form

    Click on the "Processing" tab. Then, tell us what to do with your form when it is submitted by your users to our server.

  6. Tell us about the form fields

    In order to process your form, we need to know some information about the fields it contains. Since you aren't using the form builder, you'll need to enter these manually. The first three columns are the most important. The name is the name that each HTML form field is required to have. The name must be unique. The other fields are described in the screenshot below.

  7. Test your form

    Test the form that you edited in Step 3. Fill out your form with some test values and submit the form.

  8. View form responses

    Click on the "Responses" tab. Any responses should appear in the spreadsheet. There is a column for every field. If you elected to have responses emailed to you, you will find an email in your mailbox.

  9. That's all!

    If you need help, please get in touch.

Video Guide