You need to sign in to do that
Don't have an account?

HTML Tag Textarea not displayed in Visualforce page
Hi Team,
I need a textarea box displayed in my visualforce page (which is rendered as PDF). I used the below code, for some reasons I dont see the box at all. Am I misisng something ?
<apex:page rendered="true" renderAs="pdf" sidebar="false" lightningStylesheets="true" applyHtmlTag="true" doctype="html-5.0">
<html>
<textarea richtext="true" cols="50" rows="5" required="true"></textarea>
</html>
</apex:page>
Also please confirm how we can have borders around fields. I basically need to have borders for my section of fields.
Thanks
Natraj
I need a textarea box displayed in my visualforce page (which is rendered as PDF). I used the below code, for some reasons I dont see the box at all. Am I misisng something ?
<apex:page rendered="true" renderAs="pdf" sidebar="false" lightningStylesheets="true" applyHtmlTag="true" doctype="html-5.0">
<html>
<textarea richtext="true" cols="50" rows="5" required="true"></textarea>
</html>
</apex:page>
Also please confirm how we can have borders around fields. I basically need to have borders for my section of fields.
Thanks
Natraj
TRY like below
All Answers
TRY like below
You are right, when I remove render as pdf from apex page tag, the textarea comes correctly. Adding styles worked perfectly fine. Thank you so much for the prompt answer
Regards
Natraj