Reputation: 155
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
Reputation: 82
I feel You're not loading the validation plugin.
Could you please paste your code here for more clarification.
Upvotes: 1