PDA

View Full Version : Change validation on Jquery Form Wizard



richstro
01-23-2012, 07:11 AM
1) Script Title: Jquery Form Wizard

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

3) Describe problem: Is it possible to change the script so that validation does not occur on pressing the Back button on hte pagination - I only want validation to occur on Next and Submit actions.

Thanks in advance, Rich

ddadmin
01-23-2012, 10:21 PM
Try finding the below line inside the .js file, and add to it the addition in red:


if (!bypasshooks && this.setting.validate && rawi!="prev"){