function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dfcdfc 

renderAs="pdf" Does Not Work For Input Tags

I have a VisualForce page fronting a custom object and some child objects that is basically a form containing a lot of input fields using the <apex:inputField> tag in page blocks sections.

 

A user may want a PDF copy after they fill out the form completely.  Unfortunately, renderAs="pdf" does not render inputField values, just the labels.  Why is this?

 

Is the workaround that I have to create two custom pages -- one for data entry and one for PDF display (that does not use input fields)??  Ugh...

 

Thanks.


Dave

 

Best Answer chosen by Admin (Salesforce Developers) 
Cool_DevloperCool_Devloper

I think, you have to:(

Experts, correct me if I am wrong!

Cool_D

All Answers

Cool_DevloperCool_Devloper

I think, you have to:(

Experts, correct me if I am wrong!

Cool_D

This was selected as the best answer
dfcdfc

Thanks, Cool_D.  I'll go with two pages for now...

 

Dave