Automatic click on input when screen rendered

Automatic click on input when screen rendered

  

Hello, 

  I would like to know how i can programm an "automatic" click when the screen is ready. On the previous screen i'll click on a button which is redirecting me to the current screen i'm talking about.  There is only an input field on this screen. Right now the user needs to click on this input to open the mobile keyboard but i want to open it directly without the user action.

What is the best way to do this? 

Thanks in advance for answers

Erick C.

Hello Erick, 

You just need set an attribute to your Input Widget.

Regards

You can also use the RichWidget Input_SetFocus in the page. Just give a name to the input and use its id as input parameter for this web block.

Cheers,

Eduardo Jauch

EDIT: Sorry, this is for web. Didn't notice the "mobile" on your question. :(

Thanks a lot it's perfect ;) Just for information, is there somewhere a list of all properties we can use ??

Regards,

Erick CHEA wrote:

Thanks a lot it's perfect ;) Just for information, is there somewhere a list of all properties we can use ??

Regards,

Hi Erick, 

Those attributes are just HTML attributes that will be inserted in the HTML tag related to the widget (like in this case a INPUT tag).

You can find them on any HTML/HTML5 documentation.

Example: https://www.w3schools.com/tags/tag_input.asp (there is a list of attributes).

Cheers,
Eduardo Jauch