I have been working on a data collection app and running into some issues with field focus. It seems that when you hit the enter key the focus goes to the next field or button or whatever may be on the view that can get focus. What I need to do is validate the entry and if no entry or invalid entry prevent the focus from going to the next field. I do however what to allow the user to tap one of the buttons on the screen even when the entry in one or more fields is not valid.
Is there a way to prevent the app from moving to the next field automatically? Is there some other preferred way to handle field navigation and validation to insure that the user enters valid data in each and every required field before moving to the next field?
Is there a way to prevent the app from moving to the next field automatically? Is there some other preferred way to handle field navigation and validation to insure that the user enters valid data in each and every required field before moving to the next field?