validationMessages
can.Map.validations.static.validationMessages
validationMessages
has the default validation error messages that will be returned by the builtin
validation methods. These can be overwritten by assigning new messages
to can.Map.validationMessages
in your application setup.
The following messages (with defaults) are available:
It is important to steal can/map/validations before overwriting the messages, otherwise the changes will be lost once steal loads it later.
Example