Setting focus in a PDF form


hi,
i'm trying move cursor particular field based on conditions using javascript. method using xfa.host.setfocus("fldtest"); in initialize event. reason focus isn't getting set fldtest, when first hit tab goes first field in tab order. there way around this?
thanks,
chad

you might want check reference path of field want set focus on.

ex: xfa.host.setfocus("form1.page1.subform1.textfield1");


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments