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.

Confrimation Break on Refresh

  1. I have about 7 forms on one page all using AJAX and displaying confirmation text.

    First Problem (Small One)
    The confirmation text is displaying as regular paragraph text instead of in a styled message box.

    Second Problem (Big One)
    For some users the form doesn't display confirmation text yet still makes the entry. So they have no confirmation that their entry was made. Their first reaction is to click the button again so now they've made two entries. For some users this only occurs if they refresh the page. Weird huh.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  2. please post a URL to your form page. Also, the first problem isn't a problem at all. The confirmation message is simply unstyled as a default so you will need to target it with a custom CSS rule and style it to suit your preference.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  3. Well its on a system locked down because it contains private teachings but if you want I can give you a login via email or something.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  4. You can send me a WP Admin login to rob@rocketgenius.com and I can take a look. Please reference this post in your email.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  5. I think it has something to do with the $is_postback variable in form-display.php but I'm not sure what.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  6. You've got these 4 JS errors on the page:

    Screenshot

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  7. So how would you go about fixing those?

    Posted 12 years ago on Saturday April 21, 2012 | Permalink
  8. David Peralty

    I would suggest researching the errors by doing Google searches. Your theme might need some editing to resolve them. The JS errors aren't specific to Gravity Forms. It might have to do with when/where you load JQuery in your theme.

    Posted 12 years ago on Saturday April 21, 2012 | Permalink
  9. Working Code - Broken Code

    These two codes are exactly the same (used WinMerge to check) only the broken one was after refresh. First page was working, second page has error. There is a part of the code at the bottom that checks if it is a Postback or not. For some reason, the form is breaking on Postback and sometimes it breaks the first time too. Any help would be much appreciated.

    Posted 12 years ago on Monday April 23, 2012 | Permalink