These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Button - Take me to another subform in document

jmason
Registered: Jun 22 2007
Posts: 73

Hello, I am using Adobe LiveCycle Designer 8.0 to design a form to keep track of policy/procedure revisions for our financial institution.

I have the basic subform created, with he following fields: Date, Page Numbers, Who sent us feedback, and Comments (the actual field names are more compact). The Comments field expands to fit the text entered. I also added an "Add Revision" button and a "Delete Revision" button at the bottom of the subform.

I created a separate beginning subform for each section in our procedural manual, to better organize the revisions needed. I placed the beginning subform for each manual section at the top of page 1, 2, 3, and so on. As revisions are added, they will push the next section down a page.

I would like to create a cover page that acts like a content page, with buttons that will take the user to the first subform for the manual section they want, so the user doesn't have to scroll for days before they find the section they're looking for.

I hope that made sense, any help is appreciated. Thanks!

My Product Information:
LiveCycle Designer, Windows
pforms
Registered: Nov 17 2009
Posts: 87
I did something similar with a custom button.

Formalc on a click event of the button

xfa.host.setFocus("Sec_1.TextField7")


TextField7 is contained in the section 1 subform.
jmason
Registered: Jun 22 2007
Posts: 73
pforms wrote:
I did something similar with a custom button.Formalc on a click event of the button

xfa.host.setFocus("Sec_1.TextField7")


TextField7 is contained in the section 1 subform.
Hello pforms,
I tried your code, and replaced the subform/field names with my own, so it reads:

----- form1.Page1Cover.Sec1_1::click: - (FormCalc, client) -----------------------------------------

xfa.host.setFocus("Rev1_1.Comments1")

Rev1_1 is the subform, and Comments1 is the field within it.

The button didn't work. I'm not sure what I did wrong...? Thank you for your help! =)
Float
Registered: Aug 15 2008
Posts: 20
Try it like this (first change the script language to JavaScript):

xfa.host.setFocus(this.resolveNode("Rev1_1.Comments1"));