roche
roche

Reputation: 155

Form validation with smart wizard

I am using smart wizard and on next button i need to check the filed not empty (required one) before loading next page.

My Code:

 $('.sw-btn-next').click( function() {

            $("#tbl_sales_form").validate();}
);

but im getting the error : Uncaught TypeError: $(...).validate is not a function

Upvotes: 0

Views: 355

Answers (1)

Vaibhav Kaushik
Vaibhav Kaushik

Reputation: 82

I feel You're not loading the validation plugin.

Could you please paste your code here for more clarification.

Upvotes: 1

Related Questions