Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

print hidden subforms

Avatar

Level 4

Hi

I have a form in which last few pages are in the hidden state.

Now, On a click of a button I should be able to print the pages only which are in hidden state.

I have used xfa.host.print(...)

But the problem here is, the whole form is in flowable state in which page numbers keep on changing so we cannot fix the start and end page to print.

Pls help.

Thanks,

Abhiram

3 Replies

Avatar

Level 4

Hi,

Make your hidden subforms also flowable, so that they will be always in last pages.

Should this help.

Regards -

Chalukya.

Avatar

Level 4

Thanks for your reply.

ya chalukya. I have made them also flowable.

But i want only the hidden part to get printed. What is the code whould i write to achieve this? Given that the start page is unknown.

Thanks

Abhiram

Avatar

Level 4

On pre-print event of the the hidden fields u can write this cod

e

this.presence = "visible";

OR

change the property of the hidden fields to

presence = visible(print only)

Regards-

Chalukya.