Expand my Community achievements bar.

SOLVED

Spacing issue with dynamic fields - hidden or printable

Avatar

Former Community Member

Hi,

I have this lovely form letter with about 100 checkboxes on it to enable the user to select any combination of paragraphs to print - that part, thanks to help from Srini on the forums here, works brilliantly but the spacing when I print is wonky - if the paragraphs selected are on multiple pages I get large amounts of white space between some of the paragraphs.  I have double checked all my formatting on the paragraphs but I have been looking at it for so long I am afraid I am missing something basic (maybe not, but probably)

I have posted the file here - https://acrobat.com/#o

If you have trouble viewing it send me an email and I will add you to workspace

thanks much,

Heather

1 Accepted Solution

Avatar

Correct answer by
Level 10

The problem is :

In the prePrint event you are only setting the presence property of the CheckBox to hidden. But in your form, the CheckBox is wrapped in a Subform. you need to set the presence property of the Subform to hidden instead of Checkbox.

Try replacing your code with this..

in the prePrint Event:

     this.parent.presence = "hidden";

in the postprint event:

     this.parent.presence = "visible";

Use the attached form. To make the form consitent with other sections, I removed the subform that wraps all the fields in OMFS/Excessive section.

https://acrobat.com/#d=uwOk2w*oPvSN7gj4xzKnVw

Let me know if that helps.

Thanks

Srini

View solution in original post

3 Replies

Avatar

Level 10

The link is not working..You can send the form to LiveCycle9@gmail.com

Thanks

Srini

Avatar

Correct answer by
Level 10

The problem is :

In the prePrint event you are only setting the presence property of the CheckBox to hidden. But in your form, the CheckBox is wrapped in a Subform. you need to set the presence property of the Subform to hidden instead of Checkbox.

Try replacing your code with this..

in the prePrint Event:

     this.parent.presence = "hidden";

in the postprint event:

     this.parent.presence = "visible";

Use the attached form. To make the form consitent with other sections, I removed the subform that wraps all the fields in OMFS/Excessive section.

https://acrobat.com/#d=uwOk2w*oPvSN7gj4xzKnVw

Let me know if that helps.

Thanks

Srini