Page 1 of 1

Field order when using tab

Posted: 14 Nov 2017
by Oz.Ab
Hæhæ.

When using the tab button to go from one field to another in the form it goes from left to right.

But now I have the fields in three columns and I want to fill the fields from top of the column and down. Then start at the top of the next column and travel down, and again the top field in the third column and down.

How can I reorder the tabbing of the fields?

Re: Field order when using tab

Posted: 14 Nov 2017
by Nikita Kurguzov
Hello, Oz!
You can use JS to define tabbing order for the fields. Depending on the type of field, the code will be slightly different. Here are a couple of examples:

Code: Select all

fd.field('Textbox').control()._el().find('input').attr('tabindex', 1);
fd.field('DropdownChoice').control()._el().find('select').attr('tabindex', 2);

Re: Field order when using tab

Posted: 14 Nov 2017
by Oz.Ab
Thank you Nikita! :)