Put the following code to the app’s JavaScript window, to add input focus to a text field element every time a specific screen is shown:
function onScreenShown(CurrentScreen) { if (CurrentScreen === 's1') { var input1 = document.getElementById('s1_i1'); input1.focus(); } }