Prevent focus change until user entered valid input
Please Login to Remove!
Hi !
I want to prevent that a field loses the focus until the user has entered some valid input (validation). Currently I have overwritten onUnfocus, set a FocusChangeListener and call setFocus when the input is invalid which works in most cases. However if the user uses the touchscreen on the storm it is still possible to leave a field so the current implementation is wrong maybe. Is there any solution for this ?
Thx very much in advance !
|