5 Replies Latest reply on Dec 7, 2007 9:24 AM by BKBK

    CFdocument not rendering

    larksys Level 1
      After converting to CF8 the cfdocument tag does not work well. I only get the first cflayoutarea. I've researched it and no one seems to have had this particular problem. I have a normal cfm page with a checkbox to create a
      PDF from it. The page I direct it to is the exact same page except it is wrapped in a cfdocument tag within the cfform tag.

      <cfform name="statreport">
      <cfdocument format="pdf" localurl="yes" fontembed="yes" >
      <!--- convert user to consultant initials --->
      <cfquery name="qConsultants" datasource="taxsearchdb">
      Select CnCons from Consult
      where upper(cnprof) = '#ucase(user)#'

      <cflayout type="border">
      <cflayoutarea title="Job Board Recruiting Stats" position="top" style="background-color:#009900#; border-style:ridge">
      <cfinput name="consultant" size="20" maxlength="20" value="#user#"></td>
      <td>Report Date
      <cfinput name="reportdate" size="8" maxlength="10" value="#udate#"></td>
      <cfinput name="quarter" size="15" maxlength="15" value="#quarter#"></td>
      <td>Create Document
      <cfinput type="checkbox" name="CreateDocument" onclick="javascript:reloadform()"></td>
      <td> </td>