PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Confirmation then Redirect issue

  1. I've create a Contact Us form. When the individual submits the form, I'd like the individual to see a confirmation that the form was submitted sucessfully and then after 5 seconds be redirected to our home page. Is there someway to accomplish this?

    Secondly, is there a way to change the name of the "Submit" button to "Submit Quote Request". Plus, I'd like to add a "Clear Form" button. Any way to do that?

    Thanks.

    Posted 11 years ago on Saturday August 18, 2012 | Permalink
  2. 1. In the form builder, click "Form Settings" and on the Confirmation tab, select "Text" and paste this code in. Feel free to modify as appropriate for your text and URL:

    Thank you for your submission.  You will be redirected to our home page in 5 seconds.  <a title="go to the home page immediately" href="http://www.homepageurl.com/">Click here</a> if you are not automatically redirected
    
    <script type="text/javascript">
    	setTimeout(function() {
    	   window.location = "http://www.homepageurl.com/";
    	}, 5000); // 5 seconds
    </script>

    You also need to check the box "Disable Auto-formatting" so that < p > and < br /> tags are not added which will prevent the JavaScript from working.

    2. In the form builder, Click "Form Settings" and on the Advanced tab, you can change the text of the submit button from Submit to anything you want. Screenshot http://minus.com/lTtCr6TZWAeit

    3. To add a Clear Form button to your form, you can add an HTML block in the form builder, and enter this:

    [html]
    <input type="reset" value="Clear Form" />
    Posted 11 years ago on Sunday August 19, 2012 | Permalink