Tab order with invisible items not working

Hello,

we have a form with several fields, some of the are hidden. Those fields are shown if certain rules apply. If they are shown, I want them to be part of the tab order. It seems, however, that if the next field in the tab sequence is hidden (not visible), the tab doesn’t simply jump to the next field in the order but doesn’t jump anywhere. In that case, you have to use the mouse.

Could that be changed so that the cursor jumps to the next visible field in the order?

Thanks
Patrick

that sounds like a bug to me, the tab order should just skip the none visible once and go to the first one that is visble

which version of servoy?

Please make a case for this.

Hi Patrick,

we had the same issue today, when invisble field in tab order, it was not possible to tab out of the field immediately before the invisible field.

Caused a bit of confusion since we could not see the invisible field on the form :wink:

Mac OS X, 10.4.10, Servoy Developer 3.1.6

Version 3.1.6 here, too.

Case 85897 created.

fixed for the next release of 3.5

Hi,

I recognized the same issue a couple of weeks ago. I found this workaround:

Use also the “enabled” property in combination with the “visible” property:

//hide field
elements.myField.enabled = false;
elements.myField.visible = false;

//show field
elements.myField.enabled = true;
elements.myField.visible = true;

yes that would be a workaround because we already checked if the component was enabled or not

jcompagner:
fixed for the next release of 3.5

I have a form which starts with a date - the tab order works from the second item ie text and tabs correctly to the end of the line, however if you start in the date field all that happens is the row is selected. Will the fix for 3.5 deal with this problem too ?

Gordon

row is selected?
in what kind of view are you in?

this case doesn’t have anything to do with the case that you describe.