Field order when using tab
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?
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?
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
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:
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);
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests