Expand my Community achievements bar.

Hiding subforms when printing

Avatar

Former Community Member
Hello



I am trying to hide a subform from the layout when printing. I know that there is a presence option for this (Visible Screen Only), however this only makes the subform invisible when printing - it doesn't remove it from the layout. Is there any way to do this?



Cheers



Mark
2 Replies

Avatar

Former Community Member
in "preprint" for that partic subform, type this.presence = "hidden" , and for "postprint" type this.presence = "visible".



This will remove the subform from the layout just before it prints, and return it to the layout just after.



Make sure the outmost subform (or the page) is also set to flowed layout.