Skip to main content
Participant
April 10, 2014
Question

Problem with cfdocumentsection cftextarea

  • April 10, 2014
  • 1 reply
  • 504 views

Hi,

I am using <cfdocument format="PDF">,

within my <cfdocumentsection> I call another .cfm file which contains

  <cftextarea label="example" disabled="disabled" name="somename" wrap="virtual" message="Your qualifications are restricted to 500 characters" value="#getdata.stuff#" required="no" rows="3" cols="80" maxlength="500" validate="maxlength" validateAt="onBlur"  />

If this textarea contains more then about 50 characters the text dosen't appeare on the pdf.

If the textarea contains just a few words it works fine.

Would you have any idea what this problem could be?

Thanks,Suzanne

    This topic has been closed for replies.

    1 reply

    Carl Von Stetten
    Legend
    April 10, 2014

    Why put a <cftextarea>, which is a <cfform> UI element, into a PDF?  Just output it to be inside a <div> or <p> or other HTML container tag.  Style the HTML to look like a form field if you need to.

    -Carl V.

    Participant
    April 10, 2014

    Because all of the form pages that are used in this application are just displayed in this PDF as 1 option for the Administrator at the end of the process. Any other ideas that don’t require me re-writing pages and pages of code?

    Suzanne Jarrett

    Web Programmer for CalHR

    Suzanne.Jarrett@calhr.ca.gov

    916-323-4491