Expand my Community achievements bar.

Hide / Dispaly problem in PDF

Avatar

Former Community Member

Hi ,

I used the code this.presence = "hidden " to hide the field . But it is working good in LC designer . But while testing separtaly with PDF

(generated from server ) its not working . The above i used under doc:ready, layout:ready and form ready . But its not working .

Advance thanks for help

1 Reply

Avatar

Level 6

This could be due to having different settings on preview and save settings. Make sure you save as Dynamic PDF if you are using PDF template....or if you are using save as XDP there is not such setting......but you may need to check the setting on the LC server when the form is regenerated to produce PDF from XDP you need to specify "PDFForm" instead of just "PDF" in the Render QPAC settings. The difference is "PDFForm" produces dynamic and "PDF" produces static output.