I just want to hide all the error message during and after typing the field (wrong input or empty field). And once the submit/button pressed then the message will all appear/visible.
The problem is... every time I typed wrong or I leave the text field empty it always shows the error message such "this fields is required", etc.
rules : {
"user.firstname" : {
required : true,
maxlength: 50,
},
messsages : {
required : "required",
maxlength: "the max-length is 50"
"
}