Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Auto Tab with multiple text fields

Avatar

Level 2

Hi,

I have three text fields on a fillable form i am creating and i was wondering how i would make it so when you come to the end of the first line of text it automatically tabs down to the next line. I got it to stop typing once you get to the end of a text field but it will not hop down to the next line unless i click tab. So is there a way for the user to keep typing with out having to use the tab key.

Thank You,

Aaron

2 Replies

Avatar

Level 10

Hi Aaron,

You should be able to put some script in the 'full' event of the field to set ficus to the next field ... something like;

form1.#subform[0].TextField1::full - (JavaScript, client)

xfa.host.setFocus('TextField2');

depending on your tabbing you might also be able to have;

xfa.host.setFocus(this.resolveNode('#traversal.#traverse').ref);

Bruce