I have a bunch of address inputs and I want to change the default required
message in one go without typing each message for each input field.
$(document).ready(function() {
$('#frm').validate({
rules: {
street: {
required: true
},
city: {
required: true
},
province: {
required: true
}, ...
},
messages: {
required: "ASDSA"
}, ...
});
I tried this code but it does not work. No response or effect from the browser whatsoever.