• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Focus Form Field for Popup on Mobile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Focus Form Field for Popup on Mobile

    I have a form for a mobile app where the user puts in a number and presses the "Confirm" button. On pressing confirm it runs a backend program to determine if the number exists in our system. If it does, it opens a popup form that lets the user update a weight field. If it doesn't, the backend program fires an event that will open a separate popup form that allows for more than just weight entry. In both cases I can't seem to get the app to focus on the inputs of the popups, rather it keeps the cursor on the main form. I have tried using SetWidget and SetResponse('formFieldFocus') on the backend program, but that doesn't seem to work. (I'm also not sure if SetWidget/SetResponse even works on a popup before it is open).

    Everything seems to work fine on desktop without the need for my intervention via code or app variables, is there a more intended way of controlling focus on mobile?

    Thank you

  • #2
    On mobile devices, it is currently not possible to programmatically focus a form field and display the keyboard. Users must tap the field to bring up the keyboard.

    Comment

    Working...
    X