I have a View with some fields, I need to do a validation to check if the field is empty when the user clicks on a button eg save, search for some functions in jQuery no more answers what I need to do, someone knows a jQuery function which validates all fields of a view without having to enter the field name eg:
Nome :{
required : true
}
I would like an example where the function is generic, where I can use only once for various fields.