Expand my Community achievements bar.

Set focus - field on next page.

Avatar

Former Community Member
I have a simple form that has page 2 hidden unless invoked via a button. I have this attached to the click event:



pageTwo.presence = "visible"

xfa.host.setFocus("xfa.form.form1.pageTwo.TextField2")



Right now, I have to click the button twice to get the setFocus portion to work. I get to the field, but only after clicking twice....



Any suggestions? Thanks

Mike
0 Replies