Scripts specified as part of a validation should make no assumptions as to how the processing application might use the validation results, or when the validate object is invoked. In particular, the script should not attempt to provide feedback to a user or alter the state of the form in any way.
Reference_Syntax.scriptTest = “error | disabled | warning”
Do not perform this test. The form object is permitted to have a value that does not conform to the script. The field can be left with a non-conforming value, and it will not negatively affect the validity of the form. This value disables the validation test.
error (default)
Emit a message if the script reports the data is erroneous but allow the user to proceed to the next field. The message must inform the user that the form object is recommended to have a value that conforms to the script’s constraints, and provide two choices:
dismiss: The user understands the form’s recommendation and wishes to return to the form and satisfy this constraint.
override: The user understands the form’s recommendation, but has chosen to contravene this constraint.
Form Model

scriptTest