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.

long form error reload

  1. I've got a VERY long form with several required fields. If I submit without completing the fields the form reloads at the submit button instead of showing the top of the form with the error message and the red boxes. Is there any way to force reload at the top of the screen? As it is I've got people submitting, seeing no errors, and navigating away.

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  2. @Shelley Is this form using AJAX submit or no AJAX?

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  3. I couldn't find a setting or option anywhere to tell me that (I swear I've seen it), but this is in the generated code:

    <form method='post' enctype='multipart/form-data' target='gform_ajax_frame_8' id='gform_8' class='' action=''>

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  4. The AJAX option is part of the shortcode or function call that displays the form. It looks like you are using AJAX.

    When using AJAX in the current public release you can't set an anchor for it to go back to the top of the form, however it is something that we are going to add in the next 1.5 release.

    In order to do this now you would have to NOT use AJAX and follow the directions here:

    http://forum.gravityhelp.com/topic/redirect-after-failed-form-redirect-to-page-w-anchor#post-9592

    Check the shortcode you use to display the form. AJAX is one of the options and it must be set to true, you need to remove it or set it to false and then follow the directions above.

    We will be making it so that the 1.5 release does this automatically when AJAX is used.

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  5. Any eta on that 1.5 release? This form isn't live yet and I may very well just be able to hold off for a few days. BTW, loving the CSS ready classes. I've Frankencoded those into my 1.4.5 install. Lovely.

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  6. 1.5 is currently in Release Candidate status so it's nearing final release. Sometime this month. We are working on the new Gravity Forms site and other features that will launch with the final 1.5 release.

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  7. @Shelley Actually I was just told that the existing 1.5 release candidate that is available on the site should already do this. Is there anyway you can send us a link to your form so we can view it and see what is going on?

    See this example:

    http://wp1.rocketgenius-dev.com/ajax-anchor/

    You'll see it automatically goes to the top of the form so you can see errors when you submit it without filling anything out.

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  8. That would be pretty much perfect. Are there any glitches or bugs still being smoothed out I need to know about before sticking this on a live environment?

    My form: https://web.saumag.edu/admissions/apply/undergraduate-application/

    I've also just sent an admin login for this site to you at your @rocketgenius email.

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  9. @Shelley The issue you have encountered is because you are running the 1.4 release. Which doesn't anchor to the top of the form when an error occurs. The 1.5 release does implement this functionality, which was added as part of the changes made to support multi-page forms. So the 1.5 release will correct this issue. The 1.5 release is stable. We are still fixing minor things here and there as they are discovered, but nothing major has come up.

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink