06-18-2013 02:01 AM
I have one editfield in my screen in which I want like it should accpets only characterI it should not accpet number and special character
e.g. it should accpet- "blackberry"
should not accpet - blackberry10 / blackberry@ /any combination of special character and character combination
How to Do that?
06-18-2013 03:32 AM
06-18-2013 04:18 AM
use validate method in edit field like this
i cannot find the validate method in edit field, can you give me a link to the API where you found it?
06-18-2013 04:21 AM
06-25-2013 04:55 AM
The recommended approach is to use a TextFilter. Create your own class that extends TextFilter, then set that filter on the EditField you wish to verify.
Give this a try before you override keyChar as this is a cleaner interface.