We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b195d39 commit 61943a7Copy full SHA for 61943a7
advanced-form.html
@@ -66,6 +66,14 @@ <h2>A powerful jQuery wizard plugin that supports accessibility and HTML5.</h2>
66
return false;
67
}
68
69
+ // Needed in some cases if the user went back (clean up)
70
+ if (currentIndex < newIndex)
71
+ {
72
+ // To remove error styles
73
+ $("#form .body:eq(" + newIndex + ") label.error").remove();
74
+ $("#form .body:eq(" + newIndex + ") .error").removeClass("error");
75
+ }
76
+
77
$("#form").validate().settings.ignore = ":disabled,:hidden";
78
return $("#form").valid();
79
},
0 commit comments