Skip to main content

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"?

Hi J K,

have you tried using a media css query?

Something like

@media print #myControl{
   display:none;
}

Could help.

Cheers

Philipp


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.


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?


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


Reply