Following labels contain the validation messages for each key, these can be changed at any time:
$.setDjValidatorLabels({
required:'Campo requerido.',
word_min:'Por lo menos $1 caracteres sin espacios.',
word_between:'Entre $1 y $2 caracteres sin espacios.',
atext_min:'Por lo menos $1 caracteres alfabéticos.',
......
});
Label | Description |
required |
Required |
word_min |
Word, when the maximum is omitted |
word_between |
Word, without omissions |
atext_min |
atext, when the maximum is omitted |
atext_between |
atext, without omissions |
antext_min |
antext, when the maximum is omitted |
antext_between |
antext, without omissions |
text_min |
text, when the maximum is omitted |
text_between |
text, without omissions |
int_invalid |
int, when it is not a valid integer |
int_min |
int, when the maximum is omitted |
int_max |
int, when the minimum is omitted |
int_between |
int, without omissions |
num_invalid |
num, when it is not a valid number |
num_min |
num, when the maximum is omitted |
num_max |
num, when the minimum is omitted |
num_between |
num, without omissions |
dig_min |
dig, when the maximum is omitted |
dig_between |
dig, without omissions |
file_min |
file, when the maximum amount is omitted |
file_between |
file, without skipping quantities |
file_format |
file, when it is not a valid format |
file_min_size |
file, when the minimum size is specified |
file_max_size |
file, when the maximum size is specified |
file_ext |
efile, when it is not a valid extension |
email, when the maximum is omitted |
|
email_max |
email, without omissions |
phone |
phone, when it is not valid |
url |
url, when the maximum is omitted |
url_max |
url, without omissions |
ip |
ip, when it is not a valid IP |
regexp |
regexp, when it does not meet the expression |
or |
or, when no field is full |
equal |
equal, when the fields are different |
not_equal |
nequal, when the fields are equal |
multi_min |
multi, when the maximum is omitted |
multi_between |
multi, without omissions |
call |
call, call to a user function |
radio |
radio, validate radios |
check_single |
check, without parameters |
check_multi_min |
check, when the maximum is omitted |
check_multi_between |
check, without omissions |
ajax |
ajax, server validation |
ajax_validating |
ajax, waiting for server response |
ajax_fail |
ajax, when server validation fails |