I want to make a button (for use on a touch screen) that simulates the pressing of a tab key. Does anyone know how to make it so my focus changes to the next field in the tab order when i press this button
While you are using Touchscreen monitor, users could directly press the next numbered item and so will be good idea if you use numbers along with your questions. So users can directly choose the right answer in the question order.
Probably you can make only the next question as enabled option and the rest as disabled. When that question is answerd, the next valid question will become enabled and so on. Event the font size of the enabled question cab be larger compared to rest of the questions.
However directly coming to your question,
Have you tried as that buttons click event,
KEYBOARD '{TAB}'
You might be right then can click on the field when they want enter data into it so i might not need this however it would make data entry faster if they can stay on the screen control keyboard.
keyboard {tab} will not work kuz it take me to the next field on the control keyboard not the field.
What i have done is name the field in the order i want move so the set the focus to the next field. It would be nice to use the object.tabindex to find out the next form object and move to it however i do not know how to do that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.