EditField.ValidationError Event

The user has tried to enter a character that is prohibited by the EditField's Mask property. InvalidText is the entire character string up to and including the invalid text.

Syntax
ValidationError ( InvalidText, StartPosition )

Parameters
InvalidText | String
StartPosition | Integer

# Notes

StartPosition is the starting character position in which the actual invalid text was entered. The first character is numbered 1. If no code is provided in this event and a validation error occurs, REALbasic plays the system beep.