简体   繁体   中英

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

I feel You're not loading the validation plugin.

Could you please paste your code here for more clarification.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM