Expand my Community achievements bar.

SOLVED

How to set table Tab order column wise including Headers?

Avatar

Level 2

Hi,

I had tried to re-arrange the tab order in the table, but it fail to do so.

As the default tab order is by row.

I would like to set the tab order by column.

I had set it in the tab palette, but it fails. It will auto reverse to the original tab order.table.PNG

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi,

With your supplied form you wont be able to add the header to the tab order unless there is a user entry field there. Changing the tab order of the rest wasn't an issue for me.

The Header Row might be the problem. I deleted it and added another row where it was and then i could reorder without an issue. I changed it's type to Header Row and was still able to set the tabs ok.

1650480_pastedImage_1.png

1650481_pastedImage_2.png

1650482_pastedImage_3.png

View solution in original post

5 Replies

Avatar

Level 7

Hi,

I had no such problems editing the tab order, make sure you switch it to custom and drag it to a new location.

1649626_pastedImage_0.png

If you are still having trouble, you could bypass it with an exit event for the cell.

form1.#subform[0].Table1.Row1.TextField1:exit - (JavaScript, client)

xfa.host.setFocus("Row2.TextField1");

then in Row2.TextField1, have some code that when exited it will focus on Row3.TextField1 etc.

The catch is though, it will always fire on exiting the field whether you press tab or not. If you exit by clicking the mouse somewhere, the focus will go back to the next field in the code. If you clicked in another cell in the table, it will focus on the cell in the code.

If the form will always go from one to the next, then there is no issue.

Avatar

Level 2

Thanks for the suggestion. But you are not including Headers in your table.

I am also using the custom tab order, as shown below:

1649807_pastedImage_0.png

but once I go to another pallet, it goes back to the original state:

1649808_pastedImage_1.png

Here's my PDF: Adobe Document Cloud

Avatar

Correct answer by
Level 7

Hi,

With your supplied form you wont be able to add the header to the tab order unless there is a user entry field there. Changing the tab order of the rest wasn't an issue for me.

The Header Row might be the problem. I deleted it and added another row where it was and then i could reorder without an issue. I changed it's type to Header Row and was still able to set the tabs ok.

1650480_pastedImage_1.png

1650481_pastedImage_2.png

1650482_pastedImage_3.png

Avatar

Level 2

Thanks a lot MinusZero

That finally worked for me...