user2680614 user2680614 - 2 years ago 80
jQuery Question

Fix input errors and continuation issues in validation form

I have a form that will not show errors when the wrong text is input and won't continue on to the next step after selecting next.

Here is how it's supposed to function (scroll to bottom):

Here is the Fiddle:

init.push(function() {
onFinish: function() {
// Disable changing step. To enable changing step just call this.unfreeze()
$('#wizard-forms .wizard-prev-step-btn').on('click', function() {
return false;

Answer Source

you missed

var init = [];

from the start of your code. This is present right at the top of the source of the demo you linked to.

You've also missed


from the end of your code.

Both those statements need to be outside any kind of window.onload / $(document.ready() type function - but everything else should be inside it.

See a working example at

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download