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.

Run JavaScript on Specific Page

  1. How can I run javascript code once the user reaches a specific page

    For example, if I had a form with 3 pages,

    alert ("you reached the 3rd page");

    would run one the user has reached the 3rd page.

    Posted 12 years ago on Saturday August 20, 2011 | Permalink
  2. I think you will want to use the gform_page_loaded hook.

    Fires on multi-page forms when changing pages (i.e. going to the next or previous page).

    http://www.gravityhelp.com/documentation/page/Gform_page_loaded

    Posted 12 years ago on Saturday August 20, 2011 | Permalink
  3. Thanks, just what I was looking for

    Posted 12 years ago on Saturday August 20, 2011 | Permalink
  4. You're welcome. Good luck.

    Posted 12 years ago on Saturday August 20, 2011 | Permalink

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