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.

exit popup ... need to add onlick to the form submit

  1. Hello :)

    I have a java exit pop up script installed on my site, which is switched off when visitors click on internal links only by using ...

    onclick = "setBunload(false)" within the <a href=

    How would I go about adding onclick = "setBunload(false)" to the gravity form submit button? Currently, the pop up appears after hitting submit as the form redirects the user to another page on my site.

    Any help, advice, tips would be appreciated. I've been trying to figure it out for two days, and not having much luck (I'm getting old and am not as sharp as I once was!)

    Thanks all

    Posted 11 years ago on Thursday June 20, 2013 | Permalink
  2. David Peralty

    Have you looked at this hook? http://www.gravityhelp.com/documentation/page/Gform_submit_button

    Posted 11 years ago on Thursday June 20, 2013 | Permalink
  3. Thank you x 1000!!!

    Got it working.

    Thanks again. Really appreciate the help :)

    Posted 11 years ago on Thursday June 20, 2013 | Permalink
  4. David Peralty

    No problem. Glad you got it sorted. All my best!

    Posted 11 years ago on Thursday June 20, 2013 | Permalink

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