Hi there,
I have the requirement to allow only certain types of characters in an input field:
Numbers and lower/upper case letters (with accents too) and the following characters:
_ Underscore
- Hyphen
() Parenthesis
* Asterisk
Sharp
, Comma
. Dot
So I was trying to adjust this code to my need but seems confusing. For example the accents. The ASCII codes for the extended characters are between 128 and 155 but that does not work in the code above
And more funny I put a little code to show which keycode was pressed it displays 233 for the symbole é instead of 130

Any help?
Thanks