Auto focus a textbox

Feb 17, 2020

Hello everyone,

I'm building a simulation navigable by barcode scanner, and need textboxes on every page to have focus without clicking into them.

I've seen multiple posts on this topic where the solution was to have the textbox on the bottom-most layer of the timeline but that hasn't worked for me (see screenshot).

Is there anything else I should be trying, has anyone else had the same issue?

 

1 Reply
Zsolt Olah

Hi Nick,

This used to be single line in JavaScript, you can see the example here: 

https://www.rabbitoreg.com/examples/p99/#/lessons/1CnkOnwx8VMQtzipnBfcJXwUrFaZBm_v

Until the recent updates in Storyline. jQuery is no longer bundled with Storyline. You can still use this example but also need to include jQuery. See the thread here: 

https://community.articulate.com/discussions/articulate-storyline/no-more-jquery

The attached example should work as a template.

This discussion is closed. You can start a new discussion or contact Articulate Support.