Avatar

Level 5

Hello!

Is there a way of defining automatic tab for ALL fields in a form?

To define automatic tabs on the fields, individualy, I'm using this FormCalc field:

var fullCount = <field_length>
var currentString = xfa.event.newText
if(Len(currentString) >= fullCount) then
    xfa.host.setFocus("next_field_name")
endif

Now, is there a way of defining automatic tabs for all fields based on the order defined in the Tab Order panel?

Thank you for any ideas!

Marcos