Expand my Community achievements bar.

Need button to launch new page in form

Avatar

Former Community Member

This newbie needs help in advanced techniques. The form has two main areas that users must complete; a subform titled HeaderSubform where the user selects an Area (drop down menu field), enters a Campus Goal (expandable text field) and the Objective to meet the goal (another expandable text field). The second part is TableSubform, a nested subform under the HeaderSubform. It is a flowable table where the users enters numerous actions to meet the goal's objective. An Add button in the table row adds more rows to the table as needed. The table can span multiple pages. In my mind I call these two subforms the "area". Below the table I have an Add New Goal button that when clicked adds a new "area", the HeaderSubform and the nested TableSubform, so the user can select another area, then add the new goal, objective and table. Right now all of this works perfectly but it has one problem.

Problem: Let's say the user begins on page 1. As additional rows are added to the table the table could end near the bottom of page 2. When the Add New Goal button is clicked a new second "area" is inserted but the Area drop down menu and the Goal field could be on page 2 and the Objective field and new table could be on page 3. Basically I need the new "area", to always begin on a new page each time the Add New Goal button is clicked.

A picture of the Heirarchy is attached but in general this is how it is set up:

Heirarchy:

(untitled Subform) (page 1)     (Flowed, allow page breaks)

     CampusNameSubform  (this is another problem I will submit)

          Campus (text field)

     HeaderSubform               (Flowed, allow page breaks, Repeat subform, Min count=1)

          Area (drop down menu)

          Goal (text field)

          Objective (text field)

          TableSubform              (Allow page breaks)

               HeaderRow

               Row1

                    AddDelButtonSubform

                         Button1

                         Button2

AddGoalButtonSubform          (Flowed, allow page breaks)

     Button3

    

I am extremely grateful for your help. Of course I need this ASAP. TIA!

Jan

4 Replies

Avatar

Former Community Member

This one shouldn't be too bad...

Select on the HeaderSubform and navigate to the Object pallette and Navigation tab.  Add a conditional break, but clicking the "Edit" button next to the word "Conditional" and then the + at the top of the window that pops up.

Change the language to JavaScript.  In the "Condition" field, type this expression:

this.instanceIndex > 0

That will say, "When this is true, do this page break," hence a "conditional" page break.

Select Break "Before", and where it says "To", select "Top of Next Page" from the drop down arrow.

Basically what this will do is anytime the HeaderSubform is NOT the first one, stick it on the next page.

Hope this helps!

Ryan D. Lunka

Cardinal Solutions Group

rlunka@cardinalsolutions.com

Avatar

Former Community Member

Yes! It worked!

Thank you so much for your help today. You have been a lifesaver.

I've been creating simple forms using AcroForms and LiveCycle Designer for several years. As an average self-taught Acrobat user how can I learn more using advanced features in LiveCycle Designer? I've used the Classroom in a Book series since Acrobat version 5. I've ordered the Forms book by Padova/Okamoto. Any other suggestions? Are classes or webinars offered anywhere? I need to stay one step ahead of the school district's needs.

Again, thank you.

Jan

Avatar

Former Community Member

There's a number of resources out there I know, but I've been hard pressed to find any that useful, other than Adobe's documentation, which is very technical in nature. Honestly your best case scenario would be to take some live training. It allows you to learn from a person and ask questions directly related to your own business problems.

I hate to sound like I'm advertising, because that wasn't my intention in helping you, but my company Cardinal Solutions is an Adobe Gold partner and we provide Adobe Forms development training as one of our many LiveCycle related services. If you are possibly interested in discussing our training services, email me directly and I'd be more than happy to put you in contact with the right people. I can put you in touch with someone here who knows more about the training structure, pricing, and what all we can offer. I do know that we've been very successful in the past, though.

Ryan D. Lunka

Cardinal Solutions Group

rlunka@cardinalsolutions.com

Avatar

Level 2

There are also some eSeminars (available on-demand) that you may find helpful:

Extending LiveCycle Forms with JavaScript and FormCalc

http://www.acrobatusers.com/monthly_topic/2008/04/

and

Advanced Forms and LiveCycle Designer

http://www.acrobatusers.com/monthly_topic/2008/11

Lori