Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submitting an online job application through email pt.2

Status
Not open for further replies.

hevychevy1996

Programmer
Jan 7, 2005
24
US
I recently posted about submitting an online application through email.

I used the syntax value=#form.formfield# and replaced them with the fields used within the cfmail tags. I got it to email fine, only instead of showing the information chosen in the field, it gives me the full html that i copied inside the <cfmail tags>. How can i get it to show only the answers in the fields rather than the coding.

Thanks in advance!!
 
You'll have to set the Type attribute in the cfmail tag to HTML.
Code:
<cfmail
        to="whatever..."
        from="whatever..."
        subject="whatever..."
        [red]type="HTML"[/red]>



Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
Ok, that means your code is wrong then.

You'll have to post it if you want us to figure it out.



Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
Heres the code with an example of the fields i am using:

<cfmail subject="A new application has been submitted" from="admin@company.net" to="hr@company.net" type="html">
 
[censored] i don't see any code...

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Code:
    <cfmail subject="A new application has been submitted" from="admin@company.net" to="hr@company.net" type="html">
    <table width="48%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
<td width="265"><div align="right">Date: </div></td>
<td width="200"><input name=value=form.app_date type="text" id=value=form.app_date></td>
      </tr>
       <tr>
 <td><div align="right">Last Name: </div></td>
<td><input name=value=form.last type="text" id=value=form.last></td>
     </tr>
</cfmail>
 
This will put the form fields in the email (going by what you posted i just fixed the syntax) if you don't want the form fields take the syntax for the input's out and just leave the #form.app_date# and other values.

Code:
 <cfmail subject="A new application has been submitted" from="admin@company.net" to="hr@company.net" type="html">
    <table width="48%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
<td width="265"><div align="right">Date: </div></td>
<td width="200"><input name=[b]""[/b] value=[b]"#[/b]form.app_date[b]#"[/b] type="text" id= [b]""[/b]value=[b]"#[/b]form.app_date[b]#"[/b]></td>
      </tr>
       <tr>
 <td><div align="right">Last Name: </div></td>
<td><input name=[b]""[/b] value=[b]"#[/b]form.last[b]#"[/b] type="text" id=[b]""[/b] value=[b]"#[/b]form.last[b]#"[/b]></td>
     </tr>
</cfmail>

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Ignore that post there are a few errors still. Full stomach = lazy eyes.

why not just this?
Code:
<cfmail subject="A new application has been submitted" from="admin@company.net" to="hr@company.net" type="html">
Date: #form.app_date#<br>
Last Name:: #form.last#
</cfmail>

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Thanks for responding. When I use the syntax you gave me, i get an error saying:

Element APP_DATE is undefined in FORM

Is it because of the pound signs? When i use it without the pound signs it works, it just doesn't show any of the answers.
 
what is the name of the form field in the preceeding form?

how about the code for that page. lets see that too

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Code:
<cfif IsDefined("FORM.Submit")>
  <cfquery datasource="WTGI" name="insert_rec">
  INSERT INTO emp_app (
  app_date,
  last,
  first,
VALUES
('#FORM.app_date#',
'#FORM.last#',
'#FORM.first#',
  </cfquery>
</cfif>
<cfmail subject="A new application has been submitted" from="admin@company.net" to="hr@company.net" type="html">
    <table width="48%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
<td width="265"><div align="right">Date: </div></td>
<td width="200"><input name=value=form.app_date type="text" id=value=form.app_date></td>
      </tr>
       <tr>
 <td><div align="right">Last Name: </div></td>
<td><input name=value=form.last type="text" id=value=form.last></td>
     </tr>
     <tr>
<td><div align="right">First Name: </div></td>
<td><input name=value=form.first type="text" id=value=form.first></td>
      </tr>
</cfmail>
 
this isn't your whole page, or it isn't the page the form is on... You're making helping you harder than it needs to be.

here is the theory. (1 page)
Code:
[b]<cfif isdefined("form.submit")>[/b]
<!--- insert into DB --->
  <cfquery datasource="WTGI" name="insert_rec">
  INSERT INTO emp_app (
  app_date,
  last,
  first,
VALUES
('#FORM.app_date#',
'#FORM.last#',
'#FORM.first#',
  </cfquery>
<!--- send mail --->
<cfmail subject="A new application has been submitted" from="admin@company.net" to="hr@company.net" type="html">
Date: #form.app_date#<br>
First Name: #form.first#<br>
Last Name: #form.last#
</cfmail>
Thank you for your resume
<cfabort>
[b]</cfif>[/b]

<form>
date: <input type = "text" name = "app_date"><br>
First Name: <input type = "text" name = "first"><br>
Last Name: <input type = "text" name = "last"><br>
<input type = "submit" value = "email" name = "submit">
</fofm>

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
OK, first thing, your query is messed up. This is how it needs to be:
Code:
<cfquery datasource="WTGI" name="insert_rec">
  INSERT INTO emp_app (app_date,last,first)
  VALUES('#FORM.app_date#','#FORM.last#','#FORM.first#')
</cfquery>
Of course, I realize that you may have just cut some code out to shorten it for this example, but I want to make sure we get everything covered here.

Now, where is your form information coming from? You should have a form page with all of the form fields in it, the user enters the information, then it send that information to this page with the cfmail tag. If you're not doing that, then this won't work. An "undefined in FORM" error message means you're not sending the needed info to the form.

Just to clarify, are you tyring to email the form itself, or just the info that has been typed into the form?



Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
My bad. Here you go!

Code:
<cfif IsDefined("FORM.Submit")>
  <cfquery datasource="WTGI" name="insert_rec">
  INSERT INTO emp_app (app_date,last,first,middle,maiden,address_1,address_2,city,state,zip,
social_security,etc...,discharge_date)
VALUES
('#FORM.app_date#','#FORM.last#',etc...,'#FORM.discharge_date#')
  </cfquery>
</cfif>
<cfmail subject="A new application has been submitted" from="admin@company.net" to="hr@company.net" type="html">
    <table width="48%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
<td width="265"><div align="right">Date: </div></td>
<td width="200"><input name=value=form.app_date type="text" id=value=form.app_date></td>
      </tr>
       <tr>
 <td><div align="right">Last Name: </div></td>
<td><input name=value=form.last type="text" id=value=form.last></td>
     </tr>
     <tr>
<td><div align="right">First Name: </div></td>
<td><input name=value=form.first type="text" id=value=form.first></td>
      </tr>
      <tr>
<td><div align="right">Middle: </div></td>
<td><input name=value=form.middle type="text" id=value=form.middle></td>
     </tr>
     <tr>
<td><div align="right">Maiden:</div></td>
<td><input name=value=form.maiden type="text" id=value=form.maiden></td>
     </tr>
     <tr>
<td><div align="right">Address 1:</div></td>
<td><input name=value=form.address_1 type="text" id=value=form.address_1></td>
</tr>
 	<tr>
<td><div align="right">Address 2:</div></td>
<td><input name=value=form.address_2 type="text" id=value=form.address_2></td>
        </tr>
													<tr>
<td><div align="right">City:</div></td>
<td><input name=value=form.city type="text" id=value=form.city></td>
	</tr>
       <tr>
<td><div align="right">State:</div></td>
<td><SELECT size=1 name=value=form.state>
                      <OPTION value="" selected>Select One</OPTION>
                      <OPTION value="AL">Alabama</OPTION>
                      <OPTION value="AK">Alaska</OPTION>
                      <OPTION value="AZ">Arizona</OPTION>
                      <OPTION value="AR">Arkansas</OPTION>
                      <OPTION value="CA">California</OPTION>
                      <OPTION value="CO">Colorado</OPTION>
                      <OPTION value="CT">Connecticut</OPTION>
                      <OPTION value="DC">District of Columbia</OPTION>
                      <OPTION value="DE">Delaware</OPTION>
                      <OPTION value="FL">Florida</OPTION>
                      <OPTION value="GA">Georgia</OPTION>
                      <OPTION value="HI">Hawaii</OPTION>
                      <OPTION value="IA">Iowa</OPTION>
                      <OPTION value="ID">Idaho</OPTION>
                      <OPTION value="IL">Illinois</OPTION>
                      <OPTION value="IN">Indiana</OPTION>
                      <OPTION value="KS">Kansas</OPTION>
                      <OPTION value="KY">Kentucky</OPTION>
                      <OPTION value="LA">Louisiana</OPTION>
                      <OPTION value="MA">Massachusetts</OPTION>
                      <OPTION value="MD">Maryland</OPTION>
                      <OPTION value="ME">Maine</OPTION>
                      <OPTION value="MI">Michigan</OPTION>
                      <OPTION value="MN">Minnesota</OPTION>
                      <OPTION value="MO">Missouri</OPTION>
                      <OPTION value="MS">Mississippi</OPTION>
                      <OPTION value="MT">Montana</OPTION>
                      <OPTION value="NC">North Carolina</OPTION>
                      <OPTION value="ND">North Dakota</OPTION>
                      <OPTION value="NE">Nebraska</OPTION>
                      <OPTION value="NH">New Hampshire</OPTION>
                      <OPTION value="NJ">New Jersey</OPTION>
                      <OPTION value="NM">New Mexico</OPTION>
                      <OPTION value="NV">Nevada</OPTION>
                      <OPTION value="NY">New York</OPTION>
                      <OPTION value="OH">Ohio</OPTION>
                      <OPTION value="OK">Oklahoma</OPTION>
                      <OPTION value="OR">Oregon</OPTION>
                      <OPTION value="PA">Pennsylvania</OPTION>
                      <OPTION value="RI">Rhode Island</OPTION>
                      <OPTION value="SC">South Carolina</OPTION>
                      <OPTION value="SD">South Dakota</OPTION>
                      <OPTION value="TN">Tennessee</OPTION>
                      <OPTION value="TX">Texas</OPTION>
                      <OPTION value="UT">Utah</OPTION>
                      <OPTION value="VA">Virginia</OPTION>
                      <OPTION value="VT">Vermont</OPTION>
                      <OPTION value="WA">Washington</OPTION>
                      <OPTION value="WI">Wisconsin</OPTION>
                      <OPTION value="WV">West Virginia</OPTION>
                      <OPTION value="WY">Wyoming</OPTION>
                      <OPTION value="Other">Other</OPTION>
                  </SELECT></td>
                  </tr>
                  <tr>
<td><div align="right">Zip Code: </div></td>
<td><input name=value=form.zip type="text" id=value=form.zip size="15"></td>
                  </tr>
                  <tr>
<td><div align="right">Social Security Number:</div></td>
<td><input name=value=form.social_security type="text" id=value=form.social_security></td>
                 </tr>
                  <tr>
<td><div align="right">Telephone Number:</div></td>
<td><input name=value=form.phone type="text" id=value=form.phone></td>
                 </tr>
																		   <tr>
                                                                            <td><div align="right">Alternate Number:</div></td>
                                                                            <td><input name=value=form.Alt_Number type="text" id=value=form.Alt_Number></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Date of Birth:</div></td>
                                                                            <td><input name=value=form.birthday id=value=form.birthday<h5></h5>>
																			
                                                                            </td>
                                                                          </tr>
																		    <tr>
                                                                            <td><div align="right">If under 18, please list age:</div></td>
                                                                            <td><input name=value=form.under_18 id=value=form.under_18<h5></h5>>
																			</td>
                                                                          </tr>
																		    <tr>
                                                                            <td><div align="right">Position applied for:</div></td>
                                                                            <td><input name=value=form.position_applied type="text" id=value=form.position_applied></td>
                                                                          </tr>
																		      <tr>
                                                                            <td><div align="right">Salary 
            desired (be specifc):</div></td>
                                                                            <td><input name=value=form.salary_desired type="text" id=value=form.salary_desired></td>
                                                                          </tr>
																		   </tr>
																		  <tr>
																		  <td>&nbsp;</td>
																		  </tr>
																		  	      <tr>
                                                                            <td><div align="right">Days/hours 
            available:</div></td>
                                                                            <td></td>
                                                                          </tr>
																		  <tr>
																		  <td></td>
																		  </tr>
																		  	      <tr>
                                                                            <td><div align="right">No pref:</div></td>
                                                                            <td><input name=value=form.no_pref type="text" id=value=form.no_pref></td>
                                                                          </tr>
																		   	      <tr>
                                                                            <td><div align="right">Monday:</div></td>
                                                                            <td><input name=value=form.monday type="text" id=value=form.monday></td>
                                                                          </tr>
																		   	      <tr>
                                                                            <td><div align="right">Tuseday:</div></td>
                                                                            <td><input name=value=form.tuesday type="text" id=value=form.tuesday></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Wednesday:</div></td>
                                                                            <td><input name=value=form.wednesday type="text" id=value=form.wednesday></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Thursday:</div></td>
                                                                            <td><input name=value=form.thursday type="text" id=value=form.thursday></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Friday:</div></td>
                                                                            <td><input name=value=form.friday type="text" id=value=form.friday></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Saturday:</div></td>
                                                                            <td><input name=value=form.saturday type="text" id=value=form.saturday></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Sunday:</div></td>
                                                                            <td><input name=value=form.sunday type="text" id=value=form.sunday></td>
                                                                          </tr>
																		   </tr>
																		  <tr>
																		  <td>&nbsp;</td>
																		  </tr>
																		     	      <tr>
                                                                            <td><div align="right">How many hours can you work weekly?</div></td>
                                                                            <td><input name=value=form.weekly_hours type="text" id=value=form.weekly_hours></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Can you work nights?</div></td>
                                                                            <td><SELECT size=1 name=value=form.nights>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>
                                                                          </tr>
																		  	      <tr>
                                                                            <td><div align="right">Employment desired:</div></td>
                                                                            <td><SELECT size=1 name=value=form.employment>
                      <OPTION value="" selected>Select One</OPTION>
                      <OPTION value="Full-Time">Full-Time Only</OPTION>
                      <OPTION value="Part Time">Part-Time Only</OPTION>
                      <OPTION value="Full or Part-Time">Full or Part-Time</OPTION>
                                        </SELECT></td></tr>															  
																		      	      <tr>
                                                                            <td><div align="right">When will you be available to work?</div></td>
                                                                            <td><input name=value=form.date_available type="text" id=value=form.date_available></td>
                                                                          </tr>																		  
                                                                        </table><br><br>
																		<table width="83%" border="2" align="center">
  <tr>
        <td width="16%" height="39" align="center">Type of School</td>
        <td width="37%" align="center">Name of School</td>
        <td width="35%" align="center">Location (Complete Mailing Address)</td>
        <td width="4%" align="center">Years Completed</td>
        <td width="45%" align="center">Major and Degree</td>
  </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">High School</td>
    <td><input name=value=form.school_1 type="text" id=value=form.school_1></td>
    <td><input name=value=form.location_1 type="text" id=value=form.location_1></td>
    <td><input name=value=form.years_completed_1 type="text" id=value=form.years_completed_1></td>
    <td><input name=value=form.major_1 type="text" id=value=form.major_1></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
        <td align="center">College/<br>
          University</td>
    <td><input name=value=form.school_2 type="text" id=value=form.school_2></td>
    <td><input name=value=form.location_2 type="text" id=value=form.location_2></td>
     <td><input name=value=form.years_completed_2 type="text" id=value=form.years_completed_2></td>
    <td><input name=value=form.major_2 type="text" id=value=form.major_2></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
        <td align="center">Bus. or Trade School</td>
    <td><input name=value=form.school_3 type="text" id=value=form.school_3></td>
    <td><input name=value=form.location_3 type="text" id=value=form.location_3></td>
     <td><input name=value=form.years_completed_3 type="text" id=value=form.years_completed_3></td>
    <td><input name=value=form.major_3 type="text" id=value=form.major_3></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
        <td align="center">Professional School</td>
    <td><input name=value=form.school_4 type="text" id=value=form.school_4></td>
   <td><input name=value=form.location_4 type="text" id=value=form.location_4></td>
     <td><input name=value=form.years_completed_4 type="text" id=value=form.years_completed_4></td>
    <td><input name=value=form.major_4 type="text" id=value=form.major_4></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table><br><br>
<table width="75%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
										
        <td width="36%"><strong>Please list two previous employers. If you have 
          no previous work experience, type N/A in the required fields:</strong></td>
      </tr>
										<tr>
										<td>&nbsp;</td>
										</tr>
										<tr>
										<td align="right">Name:</td>
										<td width="64%"><input name=value=form.work_ref_name_1 type="text" id=value=form.work_ref_name_1></td>
										</tr>
										<tr>
										<td align="right">Position:</td>
										<td><input name=value=form.work_ref_position_1 type="text" id=value=form.work_ref_position_1></td>
		  								</tr>
										<tr>
										<td align="right">Company:</td>
										<td><input name=value=form.work_ref_company_1 type="text" id=value=form.work_ref_company_1></td>
										</tr>
										<tr>
										<td align="right">Address:</td>
										<td><input name=value=form.work_ref_address_1 type="text" id=value=form.work_ref_address_1></td>
										</tr>
										<tr>
										<td align="right">Telephone:</div>
										<td><input name=value=form.work_ref_telephone_1 type="text" id=value=form.work_ref_telephone_1></td>
										</tr>
										<tr>
										<td align="right">&nbsp;</td>
										</tr>
										<tr>
										<td align="right">Name:</td>
										<td><input name=value=form.work_ref_name_2 type="text" id=value=form.work_ref_name_2></td>
										</tr>
										<tr>
										<td align="right">Position:</td>
										<td><input name=value=form.work_ref_position_2 type="text" id=value=form.work_ref_position_2></td>
										</tr>
																				<tr>
										<td align="right">Company:</td>
										<td><input name=value=form.work_ref_company_2 type="text" id=value=form.work_ref_company_2></td>
										</tr>
										<tr>
										<td align="right">Address:</td>
										<td><input name=value=form.work_ref_address_2 type="text" id=value=form.work_ref_address_2></td>
										</tr>
																				<tr>
										<td align="right">Telephone:</td>
										<td><input name=value=form.work_ref_telephone_2 type="text" id=value=form.work_ref_telephone_2></td></tr>
										</table>
<br><br>

																		<table width="48%"  border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td width="55%"><div align="right">Have 
            you ever been convicted of a crime?</div></td>
                                                                            <td width="43%"><SELECT size=1 name=value=form.convicted>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>
                                                                          </tr>
																		  <tr>
																		  <td>&nbsp;</td>
																		  </tr>
                                                                          <tr>
                                                                            <td><div align="right">If yes, explain number of conviction(s), nature of offense(s) leading to conviction(s), how recently such offense(s) was/were committed, sentence(s) imposed and type(s) of rehabilitation: </div></td>
                                                                            <td><textarea name=value=form.convicted_specify rows="7" id=value=form.convicted_specify height="100" width="100"></textarea></td>
                                                                          </tr>
																		  </tr>
																		  <tr>
																		  <td>&nbsp;</td>
																		  </tr>
                                                                          <tr>
                                                                            <td><div align="right">Do you have a driver license?</div></td>
                                                                            <td><SELECT size=1 name=value=form.drivers_license>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">What is your transportation to work?</div></td>
                                                                            <td><input name=value=form.transportation type="text" id=value=form.transportation></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Drivers License Number:</div></td>
                                                                            <td><input name=value=form.drivers_license_number type="text" id=value=form.drivers_license_number></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">State of Issue:</div></td>
                                                                            <td><SELECT size=1 name=value=form.drivers_license_state>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="AL">Alabama</OPTION>
            <OPTION value="AK">Alaska</OPTION>
            <OPTION value="AZ">Arizona</OPTION>
            <OPTION value="AR">Arkansas</OPTION>
            <OPTION value="CA">California</OPTION>
            <OPTION value="CO">Colorado</OPTION>
            <OPTION value="CT">Connecticut</OPTION>
            <OPTION value="DC">District of Columbia</OPTION>
            <OPTION value="DE">Delaware</OPTION>
            <OPTION value="FL">Florida</OPTION>
            <OPTION value="GA">Georgia</OPTION>
            <OPTION value="HI">Hawaii</OPTION>
            <OPTION value="IA">Iowa</OPTION>
            <OPTION value="ID">Idaho</OPTION>
            <OPTION value="IL">Illinois</OPTION>
            <OPTION value="IN">Indiana</OPTION>
            <OPTION value="KS">Kansas</OPTION>
            <OPTION value="KY">Kentucky</OPTION>
            <OPTION value="LA">Louisiana</OPTION>
            <OPTION value="MA">Massachusetts</OPTION>
            <OPTION value="MD">Maryland</OPTION>
            <OPTION value="ME">Maine</OPTION>
            <OPTION value="MI">Michigan</OPTION>
            <OPTION value="MN">Minnesota</OPTION>
            <OPTION value="MO">Missouri</OPTION>
            <OPTION value="MS">Mississippi</OPTION>
            <OPTION value="MT">Montana</OPTION>
            <OPTION value="NC">North Carolina</OPTION>
            <OPTION value="ND">North Dakota</OPTION>
            <OPTION value="NE">Nebraska</OPTION>
            <OPTION value="NH">New Hampshire</OPTION>
            <OPTION value="NJ">New Jersey</OPTION>
            <OPTION value="NM">New Mexico</OPTION>
            <OPTION value="NV">Nevada</OPTION>
            <OPTION value="NY">New York</OPTION>
            <OPTION value="OH">Ohio</OPTION>
            <OPTION value="OK">Oklahoma</OPTION>
            <OPTION value="OR">Oregon</OPTION>
            <OPTION value="PA">Pennsylvania</OPTION>
            <OPTION value="RI">Rhode Island</OPTION>
            <OPTION value="SC">South Carolina</OPTION>
            <OPTION value="SD">South Dakota</OPTION>
            <OPTION value="TN">Tennessee</OPTION>
            <OPTION value="TX">Texas</OPTION>
            <OPTION value="UT">Utah</OPTION>
            <OPTION value="VA">Virginia</OPTION>
            <OPTION value="VT">Vermont</OPTION>
            <OPTION value="WA">Washington</OPTION>
            <OPTION value="WI">Wisconsin</OPTION>
            <OPTION value="WV">West Virginia</OPTION>
            <OPTION value="WY">Wyoming</OPTION>
            <OPTION value="Other">Other</OPTION>
          </SELECT></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Specify type of drivers license:</div></td>
                                                                            <td><SELECT size=1 name=value=form.drivers_license_specify>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Operator">Operator</OPTION>
            <OPTION value="Commercial (CDL)">Commercial (CDL)</OPTION>
			<OPTION value="Chauffer">Chauffer</OPTION>
          </SELECT></td>
                                                                          </tr>
																		     <tr>
                                                                            <td><div align="right">Expiration Date :</div></td>
                                                                            <td><input name=value=form.drivers_license_expiration_date type="text" id=value=form.drivers_license_expiration_date></td>
																			<td width="2%"></td>
                                                                          </tr>
													  </table><br><br>
										
    <table width="47%"  border="0" cellspacing="0" cellpadding="0">
										<tr>
										<td><div align="right">Are you familiar with Microsoft Word?</div></td>
										<td width="42%"><select size=1 name=value=form.word>
                                          <option value="" selected>Select One</option>
                                          <option value="Yes">Yes</option>
                                          <option value="No">No</option>
                                        </select></td>
										</tr>
										<tr>
										<td><div align="right">Are you familiar with Microsoft Excel?</div></td>
										<td><SELECT size=1 name=value=form.excel>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>
		  								</tr>
										<tr>
										<td><div align="right">Are you familiar with Microsoft PowerPoint?</div></td>
										<td><SELECT size=1 name=value=form.powerpoint>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>
										</tr>
										<tr>
										<td><div align="right">Typing?<br>
WPM</div></td>
										<td><select size=1 name=value=form.typing>
                                          <option value="" selected>Select One</option>
                                          <option value="Yes">Yes</option>
                                          <option value="No">No</option>
                                        </select>
										  <br>
<input name=value=form.typing_wpm type="text" id=value=form.typing_wpm></td>
										</tr>
										<tr>
										<td><div align="right">Have you worked on a personal computer?</div></td>
										<td><SELECT size=1 name=value=form.pc>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>
										</tr>
										<tr>
										<td><div align="right">Have you worked on a Mac/Apple computer(s)?</div></td>
										<td><SELECT size=1 name=value=form.mac>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>
										</tr>
										<tr>
										<td><div align="right">Please specify any other computer related skills:</div></td>
										<td><textarea name=value=form.specify_skills rows="7" id=value=form.specify_skills height="100" width="100"></textarea>
										</td>
										</tr>
										<tr>
										<td><div align="right">Please describe 
            any specific/experience related to the position for which you are 
            applying:</div></td>
										<td><textarea name=value=form.specify_other_skills rows="7" id=value=form.specify_other_skills height="100" width="100"></textarea>
										</td>
										</tr>
										</table>
										<br>
<br>
								
										
    <table width="75%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
										
        <td width="36%"><strong>Please list two references other than relatives 
          or previous employers:</strong></td>
      </tr>
										<tr>
										<td>&nbsp;</td>
										</tr>
										<tr>
										<td align="right">Name:</td>
										<td width="64%"><input name=value=form.ref_name_1 type="text" id=value=form.ref_name_1></td>
										</tr>
										<tr>
										<td align="right">Position:</td>
										<td><input name=value=form.ref_position_1 type="text" id=value=form.ref_position_1></td>
		  								</tr>
										<tr>
										<td align="right">Company:</td>
										<td><input name=value=form.ref_company_1 type="text" id=value=form.ref_company_1></td>
										</tr>
										<tr>
										<td align="right">Address:</td>
										<td><input name=value=form.ref_address_1 type="text" id=value=form.ref_address_1></td>
										</tr>
										<tr>
										<td align="right">Telephone:</div>
										<td><input name=value=form.ref_phone_1 type="text" id=value=form.ref_phone_1></td>
										</tr>
										<tr>
										<td align="right">&nbsp;</td>
										</tr>
										<tr>
										<td align="right">Name:</td>
										<td><input name=value=form.ref_name_2 type="text" id=value=form.ref_name_2></td>
										</tr>
										<tr>
										<td align="right">Position:</td>
										<td><input name=value=form.ref_position_2 type="text" id=value=form.ref_position_2></td>
										</tr>
																				<tr>
										<td align="right">Company:</td>
										<td><input name=value=form.ref_company_2 type="text" id=value=form.ref_company_2></td>
										</tr>
										<tr>
										<td align="right">Address:</td>
										<td><input name=value=form.ref_address_2 type="text" id=value=form.ref_address_2></td>
										</tr>
																				<tr>
										<td align="right">Telephone:</td>
										<td><input name=value=form.ref_phone_2 type="text" id=value=form.ref_phone_2></td></tr>										</table>
										
										<br><br>
    <table width="50%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
										<td width="53%"><strong>Military</strong></td>
										</tr>
										<tr>
										<td><div align="right">Have you ever been in the armed forces?</div></td>
<td width="47%"><SELECT size=1 name=value=form.armed_forces>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>										</tr>
										<tr>
										<td><div align="right">Are you now a member of the national guard?</div></td>
<td><SELECT size=1 name=value=form.national_guard>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>										</tr>
										<tr>
										<td><div align="right">Specialty:</div></td>
										<td><input name=value=form.specialty type="text" id=value=form.specialty></td>
										</tr>
										<tr>
										<td><div align="right">Date Entered:</div></td>
										<td><input name=value=form.date_entered type="text" id=value=form.date_entered></td>
										</tr>
											<tr>
										<td><div align="right">Discharge Date:</div></td>
										<td><input name=value=form.discharge_date type="text" id=value=form.discharge_date></td>
										</tr>
										</table>

</cfmail>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<STYLE>
	body			{ background-image: url("i/bg.gif"); background-repeat: repeat-y; }
	body,td			{ font-family: arial, helvetica; font-size: 12px; }
	.leftlink 		{ font-size: 10px; font-weight: bold; }
	.carea			{ font-size: 12px; color: #333333; line-height: 22px; }
	A:link			{ text-decoration: none; color: #006BFF; }
	A:visited		{ text-decoration: none; color: #006BFF; }
	A:hover			{ text-decoration: underline; color: #3399CC; }
	A:link.leftlink		{ text-decoration: none; color: #636363; }
	A:visited.leftlink	{ text-decoration: none; color: #636363; }
	A:hover.leftlink	{ text-decoration: underline; color: #636363; }

.menuskin{
position:absolute;
width:165px;
background-color:white;
border:1px solid blue;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
visibility:hidden;
}

.menuskin a{
text-decoration:none;
color:black;
padding-left:10px;
padding-right:10px;
}

#mouseoverstyle{
background-color:#0033CC;
}

#mouseoverstyle a{
color:white;
}#bottomnav {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #666666;
}
</STYLE>
<script language="javascript">
function validate_form ( )
{
    valid = true;

    if ( ( document.signup.app_date.value == "" ) )
    {
        alert ( "Please enter todays date" );
        valid = false;
    }
	else if ( ( document.signup.last.value == "" ) )
    {
        alert ( "Last Name is empty!" );
        valid = false;
    }
	else if ( ( document.signup.first.value == "" ) )
    {
        alert ( "First Name is empty!" );
        valid = false;
    }
	else if ( ( document.signup.address_1.value == "" ) )
    {
        alert ( "Address is empty!" );
        valid = false;
    }
	else if ( ( document.signup.city.value == "" ) )
    {
        alert ( "City is empty!" );
        valid = false;
    }
	else if ( ( document.signup.state.value == "" ) )
    {
        alert ( "State is empty!" );
        valid = false;
    }
	else if ( ( document.signup.zip.selectedIndex == 0 ) )
    {
        alert ( "Zip is empty!" );
        valid = false;
    }
	else if ( ( document.signup.social_security.value == "" ) )
    {
        alert ( "Social Security is empty!" );
        valid = false;
    }
	else if ( ( document.signup.phone.value == "" ) )
    {
        alert ( "Phone is empty!" );
        valid = false;
    }
	else if ( ( document.signup.birthday.value == "" ) )
    {
        alert ( "Please enter your date of birth" );
        valid = false;
    }
	else if ( ( document.signup.position_applied.value == "" ) )
    {
        alert ( "Please specify position applied for" );
        valid = false;
    }
		else if ( ( document.signup.weekly_hours.value == "" ) )
    {
        alert ( "Please specify your weekly hours" );
        valid = false;
    }
			else if ( ( document.signup.employment.value == "" ) )
    {
        alert ( "Please specify  employment desired" );
        valid = false;
    }
				else if ( ( document.signup.date_available.value == "" ) )
    {
        alert ( "Please specify when you are available for work" );
        valid = false;
    }
						else if ( ( document.signup.work_ref_name_1.value == "" ) )
    {
        alert ( "Please fully specify your previous employers" );
        valid = false;
    }
							else if ( ( document.signup.work_ref_position_1.value == "" ) )
    {
        alert ( "Please fully specify your previous employers" );
        valid = false;
    }
							else if ( ( document.signup.work_ref_company_1.value == "" ) )
    {
        alert ( "Please fully specify your previous employers" );
        valid = false;
    }
							else if ( ( document.signup.work_ref_address_1.value == "" ) )
    {
        alert ( "Please fully specify your previous employers" );
        valid = false;
    }
							else if ( ( document.signup.work_ref_telephone_1.value == "" ) )
    {
        alert ( "Please fully specify your previous employers" );
        valid = false;
    }
					else if ( ( document.signup.convicted.value == "" ) )
    {
        alert ( "Please specify if you have been convicted of a crime" );
        valid = false;
    }
					else if ( ( document.signup.drivers_license.value == "" ) )
    {
        alert ( "Please specify if you have a drivers license" );
        valid = false;
    }
						else if ( ( document.signup.transportation.value == "" ) )
    {
        alert ( "Please specify your transportation to work" );
        valid = false;
    }
						else if ( ( document.signup.word.value == "" ) )
    {
        alert ( "Please specify if you have used Microsoft Word" );
        valid = false;
    }
						else if ( ( document.signup.excel.value == "" ) )
    {
        alert ( "Please specify if you have used Microsoft Excel" );
        valid = false;
    }
							else if ( ( document.signup.powerpoint.value == "" ) )
    {
        alert ( "Please specify if you have used Microsoft PowerPoint" );
        valid = false;
    }
							else if ( ( document.signup.pc.value == "" ) )
    {
        alert ( "Please specify if you have used a personal computer" );
        valid = false;
    }
							else if ( ( document.signup.mac.value == "" ) )
    {
        alert ( "Please specify if you have used a Mac/Apple computer" );
        valid = false;
    }
								else if ( ( document.signup.ref_name_1.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
									else if ( ( document.signup.ref_position_1.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
									else if ( ( document.signup.ref_company_1.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
									else if ( ( document.signup.ref_address_1.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
									else if ( ( document.signup.ref_phone_1.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
										else if ( ( document.signup.ref_name_2.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
										else if ( ( document.signup.ref_position_2.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
										else if ( ( document.signup.ref_company_2.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
										else if ( ( document.signup.ref_address_2.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }
										else if ( ( document.signup.ref_phone_2.value == "" ) )
    {
        alert ( "You must specify two references" );
        valid = false;
    }	
else if ( ( document.signup.event.selectedIndex ==  0 ) )
    {
        alert ( "Event is empty!" );
        valid = false;
    }
    return valid;
}
</script>

</HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
      <TD align="center"><IMG src="[URL unfurl="true"]http://www.winntech.net/attachments/images/WinnMail/logo.gif"></TD>[/URL]
      </TR></TBODY></TABLE>
  
<cfif IsDefined("FORM.submit")>
<table width="100%"  border="0">
  <tr>
    <td>&nbsp;<div align="center"> Thank for your interest, your application has been submitted. Please note applicants may be tested for illegal drugs.
</div>
    <h5></h5>
<cfelse>
<div align="center">APPLICATION FOR EMPLOYMENT<br>
<br>
PLEASE COMPLETE THE FOLLOWING INFORMATION</div></td>
  </tr>
</table>


																		<form name="signup" method="post" onSubmit="return validate_form ( );" action="emp_app.cfm"><fieldset><legend class="style1"></legend>
                                                                        <br>																		
                                                                        
    <table width="48%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
                                                                            <td width="265"><div align="right">Date: </div></td>
                                                                            <td width="200"><input name="app_date" type="text" id="app_date"></td>
      </tr>
                                                                          <tr>
                                                                            <td><div align="right">Last Name: </div></td>
                                                                            <td><input name="last" type="text" id="last"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">First Name: </div></td>
                                                                            <td><input name="first" type="text" id="first"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Middle: </div></td>
                                                                            <td><input name="middle" type="text" id="middle"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Maiden:</div></td>
                                                                            <td><input name="maiden" type="text" id="maiden"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Address 1:</div></td>
                                                                            <td><input name="address_1" type="text" id="address_1"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Address 2:</div></td>
                                                                            <td><input name="address_2" type="text" id="address_2"></td>
                                                                          </tr>
																		     <tr>
                                                                            <td><div align="right">City:</div></td>
                                                                            <td><input name="city" type="text" id="city"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">State:</div></td>
                                                                            <td><SELECT size=1 name=state>
                      <OPTION value="" selected>Select One</OPTION>
                      <OPTION value="AL">Alabama</OPTION>
                      <OPTION value="AK">Alaska</OPTION>
                      <OPTION value="AZ">Arizona</OPTION>
                      <OPTION value="AR">Arkansas</OPTION>
                      <OPTION value="CA">California</OPTION>
                      <OPTION value="CO">Colorado</OPTION>
                      <OPTION value="CT">Connecticut</OPTION>
                      <OPTION value="DC">District of Columbia</OPTION>
                      <OPTION value="DE">Delaware</OPTION>
                      <OPTION value="FL">Florida</OPTION>
                      <OPTION value="GA">Georgia</OPTION>
                      <OPTION value="HI">Hawaii</OPTION>
                      <OPTION value="IA">Iowa</OPTION>
                      <OPTION value="ID">Idaho</OPTION>
                      <OPTION value="IL">Illinois</OPTION>
                      <OPTION value="IN">Indiana</OPTION>
                      <OPTION value="KS">Kansas</OPTION>
                      <OPTION value="KY">Kentucky</OPTION>
                      <OPTION value="LA">Louisiana</OPTION>
                      <OPTION value="MA">Massachusetts</OPTION>
                      <OPTION value="MD">Maryland</OPTION>
                      <OPTION value="ME">Maine</OPTION>
                      <OPTION value="MI">Michigan</OPTION>
                      <OPTION value="MN">Minnesota</OPTION>
                      <OPTION value="MO">Missouri</OPTION>
                      <OPTION value="MS">Mississippi</OPTION>
                      <OPTION value="MT">Montana</OPTION>
                      <OPTION value="NC">North Carolina</OPTION>
                      <OPTION value="ND">North Dakota</OPTION>
                      <OPTION value="NE">Nebraska</OPTION>
                      <OPTION value="NH">New Hampshire</OPTION>
                      <OPTION value="NJ">New Jersey</OPTION>
                      <OPTION value="NM">New Mexico</OPTION>
                      <OPTION value="NV">Nevada</OPTION>
                      <OPTION value="NY">New York</OPTION>
                      <OPTION value="OH">Ohio</OPTION>
                      <OPTION value="OK">Oklahoma</OPTION>
                      <OPTION value="OR">Oregon</OPTION>
                      <OPTION value="PA">Pennsylvania</OPTION>
                      <OPTION value="RI">Rhode Island</OPTION>
                      <OPTION value="SC">South Carolina</OPTION>
                      <OPTION value="SD">South Dakota</OPTION>
                      <OPTION value="TN">Tennessee</OPTION>
                      <OPTION value="TX">Texas</OPTION>
                      <OPTION value="UT">Utah</OPTION>
                      <OPTION value="VA">Virginia</OPTION>
                      <OPTION value="VT">Vermont</OPTION>
                      <OPTION value="WA">Washington</OPTION>
                      <OPTION value="WI">Wisconsin</OPTION>
                      <OPTION value="WV">West Virginia</OPTION>
                      <OPTION value="WY">Wyoming</OPTION>
                      <OPTION value="Other">Other</OPTION>
                  </SELECT></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Zip Code: </div></td>
                                                                            <td><input name="zip" type="text" id="zip" size="15"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Social Security Number:</div></td>
                                                                            <td><input name="social_security" type="text" id="social_security"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Telephone Number:</div></td>
                                                                            <td><input name="phone" type="text" id="phone"></td>
                                                                          </tr>
																		   <tr>
                                                                            <td><div align="right">Alternate Number:</div></td>
                                                                            <td><input name="Alt_Number" type="text" id="Alt_Number"></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td><div align="right">Date of Birth:</div></td>
                                                                            <td><input name="birthday" id="birthday<h5></h5>">
																			
                                                                            </td>
                                                                          </tr>
																		    <tr>
                                                                            <td><div align="right">If under 18, please list age:</div></td>
                                                                            <td><input name="under_18" id="under_18<h5></h5>">
																			</td>
                                                                          </tr>
																		    <tr>
                                                                            <td><div align="right">Position applied for:</div></td>
                                                                            <td><input name="position_applied" type="text" id="position_applied"></td>
                                                                          </tr>
																		      <tr>
                                                                            <td><div align="right">Salary 
            desired (be specifc):</div></td>
                                                                            <td><input name="salary_desired" type="text" id="salary_desired"></td>
                                                                          </tr>
																		   </tr>
																		  <tr>
																		  <td>&nbsp;</td>
																		  </tr>
																		  	      <tr>
                                                                            <td><div align="right">Days/hours 
            available:</div></td>
                                                                            <td></td>
                                                                          </tr>
																		  <tr>
																		  <td></td>
																		  </tr>
																		  	      <tr>
                                                                            <td><div align="right">No pref:</div></td>
                                                                            <td><input name="no_pref" type="text" id="no_pref"></td>
                                                                          </tr>
																		   	      <tr>
                                                                            <td><div align="right">Monday:</div></td>
                                                                            <td><input name="monday" type="text" id="monday"></td>
                                                                          </tr>
																		   	      <tr>
                                                                            <td><div align="right">Tuseday:</div></td>
                                                                            <td><input name="tuesday" type="text" id="tuesday"></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Wednesday:</div></td>
                                                                            <td><input name="wednesday" type="text" id="wednesday"></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Thursday:</div></td>
                                                                            <td><input name="thursday" type="text" id="thursday"></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Friday:</div></td>
                                                                            <td><input name="friday" type="text" id="friday"></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Saturday:</div></td>
                                                                            <td><input name="saturday" type="text" id="saturday"></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Sunday:</div></td>
                                                                            <td><input name="sunday" type="text" id="sunday"></td>
                                                                          </tr>
																		   </tr>
																		  <tr>
																		  <td>&nbsp;</td>
																		  </tr>
																		     	      <tr>
                                                                            <td><div align="right">How many hours can you work weekly?</div></td>
                                                                            <td><input name="weekly_hours" type="text" id="weekly_hours"></td>
                                                                          </tr>
																		     	      <tr>
                                                                            <td><div align="right">Can you work nights?</div></td>
                                                                            <td><SELECT size=1 name=nights>
            <OPTION value="" selected>Select One</OPTION>
            <OPTION value="Yes">Yes</OPTION>
            <OPTION value="No">No</OPTION>
          </SELECT></td>
                                                                          </tr>
																		  	      <tr>
                                                                            <td><div align="right">Employment desired:</div></td>
                                                                            <td><SELECT size=1 name=employment>
                      <OPTION value="" selected>Select One</OPTION>
                      <OPTION value="Full-Time">Full-Time Only</OPTION>
                      <OPTION value="Part Time">Part-Time Only</OPTION>
                      <OPTION value="Full or Part-Time">Full or Part-Time</OPTION>
                                        </SELECT></td></tr>															  
																		      	      <tr>
                                                                            <td><div align="right">When will you be available to work?</div></td>
                                                                            <td><input name="date_available" type="text" id="date_available"></td>
                                                                          </tr>																		  
                                                                        </table><br><br>
																		<table width="83%" border="2" align="center">
  <tr>
        <td width="16%" height="39" align="center" bordercolor="#000000">Type of School</td>
        <td width="37%" align="center" bordercolor="#000000">Name of School</td>
        <td width="35%" align="center" bordercolor="#000000">Location (Complete Mailing Address)</td>
        <td width="4%" align="center" bordercolor="#000000">Years Completed</td>
        <td width="45%" align="center" bordercolor="#000000">Major and Degree</td>
  </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">High School</td>
    <td><input name="school_1" type="text" id="school_1"></td>
    <td><input name="location_1" type="text" id="location_1"></td>
    <td><input name="years_completed_1" type="text" id="years_completed_1"></td>
    <td><input name="major_1" type="text" id="major_1"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
        <td align="center">College/<br>
          University</td>
    <td><input name="school_2" type="text" id="school_2"></td>
    <td><input name="location_2" type="text" id="location_2"></td>
     <td><input name="years_completed_2" type="text" id="years_completed_2"></td>
    <td><input name="major_2" type="text" id="major_2"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
        <td align="center">Bus. or Trade School</td>
    <td><input name="school_3" type="text" id="school_3"></td>
    <td><input name="location_3" type="text" id="location_3"></td>
     <td><input name="years_completed_3" type="text" id="years_completed_3"></td>
    <td><input name="major_3" type="text" id="major_3"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
        <td align="center">Professional School</td>
    <td><input name="school_4" type="text" id="school_4"></td>
   <td><input name="location_4" type="text" id="location_4"></td>
     <td><input name="years_completed_4" type="text" id="years_completed_4"></td>
    <td><input name="major_4" type="text" id="major_4"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table><br><br>
<table width="75%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
										
        <td width="36%"><strong>Please list two previous employers. If you have 
          no previous work experience, type N/A in the required fields:</strong></td>
      </tr>
										<tr>
										<td>&nbsp;</td>
										</tr>
										<tr>
										<td align="right">Name:</td>
										<td width="64%"><input name="work_ref_name_1" type="text" id="work_ref_name_1"></td>
										</tr>
										<tr>
										<td align="right">Position:</td>
										<td><input name="work_ref_position_1" type="text" id="work_ref_position_1"></td>
		  								</tr>
										<tr>
										<td align="right">Company:</td>
										<td><input name="work_ref_company_1" type="text" id="work_ref_company_1"></td>
										</tr>
										<tr>
										<td align="right">Address:</td>
										<td><input name="work_ref_address_1" type="text" id="work_ref_address_1"></td>
										</tr>
										<tr>
										<td align="right">Telephone:</div>
										<td><input name="work_ref_telephone_1" type="text" id="work_ref_telephone_1"></td>
										</tr>
										<tr>
										<td align="right">&nbsp;</td>
										</tr>
										<tr>
										<td align="right">Name:</td>
										<td><input name="work_ref_name_2" type="text" id="work
 
Wow! I was right, you cut some out of the query! :)

It looks to me like you need to follow bombboy's last post, it should give you what you're after. Just remember, you already have to have your form filled out and sending the information to this part of your code. This is for processing the information, not gathering it.



Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
it doesnt like the hash marks I keep getting an error saying it cannot be found in form:

Code:
Date: #form.app_date#<br>
 
Ok dude, now we're back where we were earlier...so here we go again. Do you have a form, somewhere else, that the user must enter the info into, and it's sent to this page for processing?



Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
read my last post. you have to put the cfmail inside the <cfif isdefined("form.submit")>

I bolded the cfif tags so you could see the exact structure of the document.

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top