Our previous example used a dropdown to control which page was visible. In this example we show how you can set up a loop in a function to hide all of the pages and then allow the remainder of the script to show the target page. This may be useful where you have a lot of pages in your form.
Freely reuse our solutions
Solutions are under the Creative Commons Attribution-ShareAlike 3.0 License