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.
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.
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
Thanks, just what I was looking for
You're welcome. Good luck.