JS command to place Cursor to relevant text input box

This forum contains topics that were moved from Get Satisfaction
Mark7294305
Posts: 0
Joined: Fri Dec 26, 2014 2:10 am

JS command to place Cursor to relevant text input box

Post by Mark7294305 »

Hello Support
I have an App with a grid containing 3 buttons and 3 text input boxes. How do I configure it where whenever

button 1 is clicked, the cursor goes straight to textinput1 .or
button 2 is clicked, the cursor goes straight to textinput2 .or
button 3 is clicked, the cursor goes straight to textinput3

Image

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

JS command to place Cursor to relevant text input box

Post by Serhii Kulibaba »

Hello Mark,

Please use focus method() for that: https://api.jquery.com/focus/

Mark7294305
Posts: 0
Joined: Fri Dec 26, 2014 2:10 am

JS command to place Cursor to relevant text input box

Post by Mark7294305 »

Hi Support
Thanks that worked. However I have another issue. The input boxes and the button which you see on the page, I need them to be hidden to the user as they are being used for some calculations which we don't want the user to see. If we make the grid, input boxes or the buttons invisible the execution of the calculations will fail. So what we need to do is to make the text, borders( basically everything in the input boxes and buttons) white in colour. How can I do this?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

JS command to place Cursor to relevant text input box

Post by Alena Prykhodko »

Mark,

To change component color you will need to apply appropriate CSS rule.
These references will help:
https://devcenter.appery.io/documenta...
https://devcenter.appery.io/documenta...

Post Reply