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

Flowed Subform should only break if multiple pages

bjasman
Registered: Apr 6 2010
Posts: 37

Hello-
I am designing a form that is merged with XML data. In the form, there is a subform that my end user does not want to break (she wants to see all the information in the subform on one page.) The problem is this subform contains a repeating table so if there is a enough XML data for the table, the subform could span multiple pages because the table can be quite large.
Any ideas on how to handle a subform that should only break if it is longer than one page?
Other ideas on how to handle this scenario?
Thanks

My Product Information:
LiveCycle Designer, Windows
--SID--
Registered: May 4 2010
Posts: 31
You will have to apply conditional property.

FIrst check the maximum height that the subform can have while being on the same page.
Then using this value apply the script which verifies the subform height , and makes it "page Break Across pages" only once that height is crossed

~~ S I D ~~

bjasman
Registered: Apr 6 2010
Posts: 37
Thank you very much for the response. I will give that a try. Just to clarify a little. To do what you suggest I would have to add some code through the Conditional Breaks window that is accessed on the Pagination tab for the subform object correct? (By the way, I am working with LC Desinger 9.) If my content area is 8.9 do you have any idea what that code would look like? I'm a little new to coding so if you have any ideas to get me started, I would greatly appreciate it!
Thanks again!
ChuckLew
Registered: Apr 16 2010
Posts: 12
Did either of you come up with any code to make this work? I can't seam to find a "Conditional Break" to make it function. Nor can I find and documentation on how to access the "Allow Page Breaks within Content" checkbox via JavaScript. If you've found an answer, please share.