Tab Ordering for Hidden (Excluded Objects) in the Flowable Dynamic PDF
Hello everyone,
I am encountering an issue with my dynamic PDF form that includes numerous subforms, some of which are initially excluded from the layout. The visibility of these subforms is dependent on the values of checkbox, dropdown, or textbox fields.
My challenge arises when attempting to establish a logical tab order within the form. The tab order doesn't behave as expected for dynamically hidden and then visible subforms. I've tried a couple of approaches without success:
Changing Tab Order with Visible Fields:
- I made all fields visible (including the hidden one to).
- Adjusted the tab order as needed.
- Excluded the unnecessary fields (those are related to condition) from the layout.
Unfortunately, this method did not yield the expected tab order when subforms became visible based on the values of other fields.
Using setFocus() in Events:
- I attempted to use the setFocus() function within mouseExit/exit events to influence tab order dynamically.
This also did not produce the desired result.
Say for example, in the Clear (mouseExit/exit), I used the below code to go Partly Cloudy but it is going to the Fog as based on the tab order Fog comes after Clear


xfa.host.setFocus(xfa.form.form1.Page_1.Environment_Subform.CheckBox2[0]);
I'm reaching out to seek your insights into why this might be happening and to explore potential solutions. If anyone has experience with dynamic PDF forms and tab order management in such scenarios, your guidance would be highly appreciated.
Thank you