Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

onKeydown possible?

Avatar

Former Community Member
I'm working on a PDF with a preconfigured Tab Order.

Now I want the PDF to listen for a Tab keystroke and perform a moveto action when a tab keystroke is found.



What kind of code i have to use here? It is possible anyways?



i tried:



this.event.onkeydown == tab

fields.moveto ("example text field")



Note: fields.moveto is a custom scripted function i created for setting a "hard" taborder without using the taborder which can be set in Livecycle through the menu's.
3 Replies

Avatar

Former Community Member
it is possible I think and I will try to help you ASAP

Avatar

Former Community Member
I am interested in an onKeyDown or similar function. I need to "follow" someone as they type into a text field. Keep me informed.



A

Avatar

Former Community Member
I doubt that this is possible.. The functionality of tabulator is so "forced" that even if you can get the form to set focus to some other field, tab will still function as always. The guestion is, which happens first: built-in functionality or your custom build..



In some ways, this is also a security issue. Maybe.



BTW. I hate that when I open a PDF form in my browser (firefox) and try to CTRL-TAB to some other browser tab, it doesn't work. Reader "steals" the key stroke in some way..