i have text entry field for user to input medical diagnosis. how can i restrict user to enter only alphabets, numbers, and a few other punctuation marks eg comma, fullstop, dash, apostrophe?
ultimate plan is to prevent users from entering something like a smiley etc.
thanks!