Closed btr-simbu closed 5 years ago
I've two forms in a single page and I want only validate one form not the another one. So how to select form by ID.
$.validate(); //It applies to all of the available forms
Ex: $.validate({ id: '#registration-form' });
$.validate({ id: '#registration-form' });
Any Possible solutions?
Edit:
Solution:
$.validate({ form: '#registration-form' });
I've two forms in a single page and I want only validate one form not the another one. So how to select form by ID.
$.validate(); //It applies to all of the available forms
Ex:
$.validate({ id: '#registration-form' });
Any Possible solutions?
Edit:
Solution:
$.validate({ form: '#registration-form' });