Hi Harsh,
To enable the autofocus functionality you need to add a HTML snippet and a javascript in the page which contains text box you need focus and add a unique class for that text box for eg(pgno). I have attached the image and Javascript below for your referance.
document.addEventListener("DOMContentLoaded", function() { const inputField = document.querySelector('.pgno'); if (inputField) { inputField.focus(); }});
Snapshot of Code.
Hi Harsh,
You have to build your custom widget for mobile screen with autofocus functionality.
Then you will be able to use autofocus functionality.
Idea :-
Build your custom mobile widget with bydefault 4 text input but make dynamic pass the variable from outside so you can make them 6,7,8 textInput according to your need.
Apply your autofocus logic inside the code.
I hope you like the answer