TextField Filter

Hi all,
How to filter the characters of a text field (surname and first name fields, for example) to avoid numbers and special characters other than the dash? I saw “TextField1.ValidationMask=” but the filters apply on a limited and known number of characters.
Thanks

Real time approach: use the TextChanged event to analyse the string each time a user types a character and apply the constraints.

1 Like