Hide a section from printing

  • 16 August 2019
  • 4 replies
  • 18 views

Badge +1

Is there a way to hide specific sections when printing to PDF? I want the sections visible when editing in Sharepoint, but when the users click on "Print to PDF" I want to hide some sections so they dont show up in the PDF file


4 replies

Badge +7

Disclaimer: I haven't actually tried this myself.

 

I would expect to able to use CSS 

@media print

 with 

display:none;

to hide something from printing. That's how websites hide things from printing. This shouldn't be any different.

 

 

 

 

Badge +1

thanks for that, however it looks like that is only supported in Classic Forms Designer

 

https://help.nintex.com/en-US/nintex2016/current/sp2016/Forms/Designer/CSSStyles.htm

 

the form am using is Responsive... any other ideas?

Badge +7

Then no, I'm sorry. I really only use Classic forms because I can customize them with CSS and JavaScript the way I want.


Responsive is locked down much more. You may want to think about rebuilding it in Classic.

Badge +1

Thanks!! Agree with you, rebuilding in Classic might be the best approach (since I might need to add some JavaScripts in there as well)

 

Appreciate the help

Reply