I’m trying to get a custom validation message when invalid data is entered. This doesn’t work. I can’t figure out why.
{
“inputType”: “text”,
“errorMsg”: “Invalid e-mail address!. Check to make sure there are no hidden spaces before or after the entry.”,
“label”: “Email”,
“model”: “activeContact.emailWork”,
“placeholder”: “Work email”,
“required”: “True”,
“styleClasses”: “col-md-12”,
“type”: “input”,
“validator”: “email”,
“visible_calc”: “model.activeContact.zpk”
}