Set up a form with the action and method attributes set as follows:

<form action="" method="post">

Add a hidden form element named "FormKey" in your form with value set to your key from the backend:

<input type="hidden" name="FormKey" value="**FORM KEY HERE**" />

If JavaScript is available, you may include this file in your page to enable AJAX-style posting:

<script src=""></script>

If using the above JavaScript, you may add an empty DIV to your page for status messages to displayed on submit. You may want to set the CSS display property to "none" initially. The ID attribute must be as follows:

<div id="FastFormsMessageBox"></div>

(Optional) You may also customize the messages that appear before, during, and after form submission. You may also provide a custom JS callback function to fire additional functionality after the form submits:


        successMessage: "success message for FastFormsMessageBox div",

        errorMessage: "error message for FastFormsMessageBox div",

        buttonWaitMessage: "text for Submit button while AJAX call is in progress",

        submitcallback: function () { 
            /* fires after AJAX submit is complete; does not fire on failure */