Whatever message this page gives is out now! Go check it out!
<submit format="formdata" target="http://localhost:8500/pdfforms/pdfreceiver.cfm" textEncoding="UTF-8"/> |
<submit format="pdf" target="http://localhost:8500/pdfforms/pdfreceiver.cfm" textEncoding="UTF-16" xdpContent="pdf datasets xfdf"/> |
<cfpdfform source="#PDF.content#" action="read" result="fields"/> |
<cfdump var="#fields#"> |
<cfset empForm="#fields.form1#"> |
destination="timesheets\#empForm.txtsheet#.pdf" overwrite="yes"/> |
destination="timesheets\#empForm.txtsheet#.xdp" overwrite="yes"/> |
XMLdata="timesheets\#empForm.txtsheet#.xml"/> |
<cfdump var="#FORM.form1#"> |
struct | |
form1 | struct |
txtDeptName | empty string |
txtEMail | empty string |
txtEmpID | empty string |
txtFirstName | empty string |
txtLastName | empty string |
txtPhoneNum | empty string |
struct | |
FORM1 | struct |
SUBFORM | struct |
HEADER | struct |
HTTPSUBMITBUTTON1 | empty string |
TXTDEPTNAME | Sales |
TXTFIRSTNAME | Carolynn |
TXTLASTNAME | Peterson |
TXTPHONENUM | (617) 872-9178 |
TXTEMPID | 1 |
TXTEMAIL | carolynp@company |
UPDATE EMPLOYEES SET FIRSTNAME = "#FORM1.SUBFORM.HEADER.TXTFIRSTNAME#", LASTNAME = "#FORM1.SUBFORM.HEADER.TXTLASTNAME#", DEPARTMENT = "#FORM1.SUBFORM.HEADER.TXTDEPTNAME#", IM_ID = "#FORM1.SUBFORM.TXTEMAIL#", PHONE = "#FORM1.SUBFORM.HEADER.TXTPHONENUM#" WHERE EMP_ID = <cfqueryparam value="#FORM1.SUBFORM.TXTEMPID#"> </cfquery> |
<cfset fields=#form1.subform.header#> |
<h3>Employee Information</h3>
<cfoutput>
<table>
<tr>
<td>Name:</td>
<td>#fields.txtfirstname# #fields.txtlastname#</td>
</tr>
<tr>
<td>Department:</td>
<td>#fields.txtdeptname#</td>
</tr>
<tr>
<td>E-Mail:</td>
<td>#fields.txtemail#</td>
<tr>
<td>Phone:</td>
<td>#fields.txtphonenum#</td>
</tr>
<table>
</cfoutput>