The validation style can be changed using the global function $.setDjvalidatorStyle(style)
:
$.setDjvalidatorStyle('display:none; color:red; text-align:inherit; font:italic bold .9em sans-serif');
Use the attribute data-dj-validator-msg
in any field to change the default validation message to your own:
<input name="user" required data-dj-validator-msg="Please fill the user!">
Use the global function $.setDjValidatorLabels
to modify the messages you want or make a translation into another language:
$.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.',
......
});
In the brands $ 1, $ 2, etc. The plugin inserts the respective parameters used by your validator (See the Spanish translation file for a more complete example)
See the labels reference to know them all.