Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689998000/fb1274dd-7223-4291-98bf-58ad5ffe79b6.jpg?itok=q4Ppx2r6)
not applicable
IN
Last activity: 21 Jul 2022 13:05 EDT
How to write Validation to allow only ASCII ( 32 to127) Characters in text field
Hi,
Validation input for text field.
I have a requirement to allow only ASCII ENGLISH Characters(32 to 127) in the text field. From ASCII 32 to ASCII 127 only. Other ASCII Characters 0 to 31 and 128 to 255 ( Foregin characters) should not be allowed.
ASCII Code - The extended ASCII table (ascii-code.com)
ASCII ( 32 to 127) = limited to english character set, numbers, space and general symbols.
how to achieve this ?
Could you Please help with the Java Code in edit validate. or any other logic to achieve this