PDA

View Full Version : Form Wizard display page based on user input?



lissie
06-16-2011, 07:18 PM
1) Script Title: jQuery Form to Form Wizard (v1.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/formwizard.htm

3) Describe problem:

Is there a way to show a page on the form based on user selection?
For example, if user choose option 1 from a radio button then show page 3 of the slide. If user choose option 2, then show page 4?

Thanks!

ddadmin
06-16-2011, 11:47 PM
Sure, try calling the method:


scriptinstance.loadsection(0,true)

inside the pertinent code, where scriptinstance is the variable name assigned to your initialization code for this particular form wizard (in the HEAD section), and 0 is the index # of the page you wish to go to (0=first page, 1=2nd page etc). In your case, you would call the above code inside your radio buttons.

lissie
06-17-2011, 09:38 PM
Thank you so much! It works perfectly!