XFA Specification
Chapter 12, User Experience
Accessibility and Field Navigation
357
If traversal order is not explicitly defined, it defaults to a left-to-right and top-to-bottom order.
Explicitly Defined Keystroke-Initiated Traversals
The following example is illustrated on
page 358.
Example 12.3 Explicitly-defined traversals
<subform name="mySubform" … >
<field name="A" x="5mm" y="20mm" …>
<traversal>
<traverse operation="next" ref="mySubform[+1].A"/>
<traverse operation="back" ref="mySubform[+1].B"/>
</traversal>
<ui … />
<value … />
</field>
<field name="B" x="45mm" y="20mm" …>
<traversal>
<traverse operation="next" ref="mySubform[+1].B"/>
<traverse operation="back" ref="mySubform[+1].A"/>
</traversal>
<ui … />
<value … />
</field>
</subform>
<subform name="mySubform" … >
<field name="A" x="5mm" y="120mm"…>
<traversal>
<traverse operation="next" ref="mySubform[-1].A"/>
<traverse operation="back" ref="mySubform[-1].B"/>
</traversal>
<ui … />
<value … />
</field>
<field name="B" x="45mm" y="120mm" …>
<traversal>
<traverse operation="next" ref="mySubform[-1].B"/>
<traverse operation="back" ref="mySubform[-1].A"/>
</traversal>
<ui … />
<value … />
</field>
</subform>