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

List lookup control shows the path when the form is printed as PDF

We are running Enterprise Workflow and Enterprise Forms in SharePoint on premise 2016.

I have a list lookup control on the nintex form.

On the view mode, the control shows up as a link.

On the edit mode, control shows up as a drop down

I open the form in view mode, print the form using "Print to PDF" button and I see the full path of the lookup value. Is there a way to hide the path when the form is "printed to PDF"?

0 Kudos
Reply
4 Replies
Automation Master
Automation Master

Re: List lookup control shows the path when the form is printed as PDF

Hi J K,

have you tried using a media css query?

Something like

@media print #myControl{
   display:none;
}

Could help.

Cheers

Philipp

0 Kudos
Reply
nirmala
Nintex Newbie

Re: List lookup control shows the path when the form is printed as PDF

Hi Phillip,

I have come across the same and tried @media print as suggested, but i still get the lookup values displayed with full url when Print to PDF option is selected.

0 Kudos
Reply
Automation Master
Automation Master

Re: List lookup control shows the path when the form is printed as PDF

Hi Nirmala,

when you see the lookup value getting displayed, have you open your browsers developer tools and checked that you have used the correct selector for your css?

0 Kudos
Reply
nirmala
Nintex Newbie

Re: List lookup control shows the path when the form is printed as PDF

Hi Philip,

I have checked whether the control has got the correct css class and it is indeed. I the am using the below css to hide the full path of the lookup value being displayed.

CSS used

.disableActiveURL {
   pointer-events:none;
   cursor:default;
   text-decoration:none;
   color:black;
}

Print to PDF generates the below. Values of the lookup along with full path.

Thanks,

Nirmala

0 Kudos
Reply