The formatTest property can be used for validations.Reference_Syntax.formatTest = “warning | disabled | error”
• Do not perform any test. The form object is permitted to have a value that does not conform to the picture clause. The field can be left with a non-conforming value and it will not invalidate the form.
• Emit a message and refuse to accept data that does not fit the picture clause. The form object must conform to a picture clause.
• warning (default)Emit a message if the data does not fit the picture clause, but allow the user to proceed to the next field. The message must inform the user that the form object should have a value that conforms to the picture clause. It must provide two choices:
• dismiss: The user understands the message and wants to return to the form to satisfy this constraint.
• override: The user understands the message, but chooses to contravene this constraint.