set mandatory widget focus on mobile

set mandatory widget focus on mobile



how can i auto focus the mandatory widget in mobile ?


Hi Tobit,

When do you want to "auto focus" the input? When you enter the screen?

On your mandatory input create an extended property called "autofocus" with value "autofocus". 

Hi Joao,

after click save button, if mandatory input empty, then it will autofocus to the widget.

Ok, then create a JS node with the following code


and pass the id of the input widget to the JS node.