I create form with blade in Laravel project,
But for example in this form i use name="adult[][first_name]"
in Input
tag.
I use jQuery validation in other project:
$(".passenger-validation").validate({
rules: {
// simple rule, converted to {required:true}
name: "required",
// compound rule
email: {
required: true,
email: true
}
}
});
Now, How to use jQuery validation in form with this name name="adult[][first_name]"
?
I use this website: https://jqueryvalidation.org
Thank you.
via mySun