Restoring focus to a text input box
Nov 19, 2012
By
Andrew McKay
Hi guys,
I was wondering if there is any way of restoring focus to a text input box, or alternatively, stop the text box losing focus altogether?
I have a slide that shows a layer containing the aforementioned text input box. As soon as this layer is shown, focus shifts to the text box and the cursor within it starts flashing. Great stuff. The only problem is, when the user clicks on anything else on the screen, focus is lost and the cursor disappears. I want to get it so that the cursor is constantly flashing in the text box i.e. focus never leaves the input box.
Is there any way of achieving this? Maybe through some javascript trickery perhaps?
Thanks in advance,
Andy
2 Replies
Somebody have a solution ? I have the same problem. Thanks
Hi Phillippe,
Once the user clicks outside the text entry box - it will have lost focus. There isn't a way to force it to keep the focus always...although I wouldn't be shocked if there was a Javascript alternative, it's not something I'm equipped to assist with.
This discussion is closed. You can start a new discussion or contact Articulate Support.