4
I’m using the plugin Jquery Validation
I need to know if at least one of the fields has been filled in
Fields> Phone, Mobile Phone
I tried to do so:
$("#Telefone").rules("add", {
required: $('#Celular').val() == '',
messages: {
required: "Esse campo é obrigatório."
}
});
But I was unsuccessful.
what comes to be ". fieldsFilter" ?
– Rod
a class Voce will add to inputs
– PauloHDSousa