cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Print to PDF displays path of the list lookup control and peoplepicker controls

I have a Nintex form with lots of List lookup controls and people picker controls and when i hit "Print to PDF" all the list lookup control and people picker controls values are displayed along with the path which actually is making the PDF look quite cumbersome.

I have grouped the controls on to the panel and have a rule against the panel as follows:

The rule works fine and disables the panel controls in view and edit mode.

I have a custom css on to the Panel and this works fine.

.tester {color:blue;}

To test whether the @media print is working on to my site or not i have added a css class under media print as .tester and added the css on to the label.

.tester {color;blue;}

@media print {
.tester { color:red;}
}

@media print does change the text to Red when selected "Print to PDF" in Preview mode, but doesn't work from list item mode.

Print to PDF in Preview mode.

When it hit "Print to PDF" i get the below (from list item mode), the labels also are not showing the included CSS. (font-color:red)

I have opened "Developer-tools" of IE to check whether my custom class is attached to the control or not, and unfortunately it has got the default "nf-label-control" class instead. 

I have custom css (i am using bootstrap.min.css) in my master page for branding my site.

I am using Nintex forms 2013 on premises and the version is 2.10.0.2.

Any help is greatly appreciated as all our forms have got list lookups and people picker controls and all these are looking quite messed up with "Print to PDF" option.

Thanks,

Nirmala

0 Kudos
Reply
4 Replies
Highlighted
Nintex Newbie

Re: Print to PDF displays path of the list lookup control and peoplepicker controls

I have found a solution for the issue. No worries.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Print to PDF displays path of the list lookup control and peoplepicker controls

May I ask what your solution was?  I am having the same issue and using bootstrap.css.

 

Thank you,

Dave

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Print to PDF displays path of the list lookup control and peoplepicker controls

Hello All

 

I had something similar with Print to PDF showing me the path of peopker picker control.

Found out my issue was not with Nintex but the use of bootstrap css on our site.

 

boostrap has styles:

@media print {
  a[href]:after {
    content: " (" attr(href) ")";
  }
}

So i changed this on Custom Css of form to be

@media print {
  a[href]:after {
    content: none !important;
  }

now no path shows while printing or Print to PDF

 

obviously my change would effect all a link but you can add it to another class if you want to remove it on some items only.

 

I hope if someone else has the same setup this might be useful option to review

Thanks, Jason

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Print to PDF displays path of the list lookup control and peoplepicker controls

What was your solution? I need to change the color of my lookup choice(s) from the standard blue to black.

0 Kudos
Reply