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.

Form validation linking to anchor

  1. http://iamsinc.com/blog/academyregistration/

    When a user selects submit without filling in all of the proper fields, they are immediately taken to the top of the page. For some users, depending on their browser type, zoom level, etc., they are not seeing the validation error message and are assuming the submission went through. This is a concern because they think they're completing their registration and never seen the form validation error message.

    Can I control where that form validation links? For example, could I add an html block with an anchor tag at the top of the form and have it link that instead of the top of the page?

    Thanks!

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  2. Check out this filter:
    http://www.gravityhelp.com/documentation/page/Gform_confirmation_anchor

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  3. Thank you for responding. This looks like it's for the confirmation text after a form is submitted successfully. Will this work the same for the error text when a form is not submitted successfully or is that a different function in the php file?

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  4. Wow - that was a Friday answer for you there - sorry about that!

    I think in your case you will just want to enable AJAX on the form placement/embed. Try that out.

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  5. That was it! Thanks so much!

    Posted 11 years ago on Monday August 6, 2012 | Permalink
  6. Thank you for the update.

    Posted 11 years ago on Tuesday August 7, 2012 | Permalink

This topic has been resolved and has been closed to new replies.