Expand my Community achievements bar.

print hidden subforms

Avatar

Former Community Member

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

Former Community Member

Hi,

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

Should this help.

Regards -

Chalukya.

Avatar

Former Community Member

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

Former Community Member

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.