...
Code Block | ||
---|---|---|
| ||
{ "rule":"/\S+@\S+\.\S+/.test(val)", "message": "Field must contain a valid email!" } |
Internationalization (i18n)
Validation messages can be internationalized (= translated to different languages). See here for more details, how this works: Internationalization (i18n).