validationMessage


validationMessagestringRead-only

Gets a message indicating why the element is invalid, or an empty string if the message is valid.

Set the value of the validationMessage property using the reject() function of the onCustomValidation() event handler.

Did this help?