Multi-Step-Form-Js icon indicating copy to clipboard operation
Multi-Step-Form-Js copied to clipboard

Script ignores validate values

Open shockalotti opened this issue 6 years ago • 3 comments

Hi there,

I'm not able to pass values into - validate: {}.

When I do, the script ignores any jquery-validate.

I tested this on your jsfiddle, too.

I had to resort to - $("form").validate({}) - instead.

shockalotti avatar Jun 08 '18 05:06 shockalotti

Same problem

viterzbayraku avatar Oct 01 '18 12:10 viterzbayraku

@mgildea Any chance you can take a look at this?

neilctm avatar Oct 22 '18 11:10 neilctm

The line 313 from src/multi-step-form.js file calls validate function without passing the validate config object. In my case, changing it into if (form.validate(settings.validate).subset(view)) { fix this problem. @mgildea Do you want em to create a PR fixing this?

sagaban avatar Oct 22 '18 20:10 sagaban