Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfif not cgi.server_port_secure>
- <cflocation url="https://#cgi.server_name##cgi.script_name#?#cgi.query_string#" />
- </cfif>
- <cfsilent>
- <cfsetting showdebugoutput="no">
- <cffunction name="makeRandomString" returntype="string" output="false">
- <cfset var chars = "23456789AaBbCDdEdFGgHhJKMNPQqRrS">
- <cfset var length = randRange(4,6)>
- <cfset var result = "">
- <cfset var i = "">
- <cfset var char = "">
- <cfscript>
- for(i=1; i <= length; i++) {
- char = mid(chars, randRange(1, len(chars)),1);
- result&=char;
- }
- </cfscript>
- <cfreturn result>
- </cffunction>
- <!--- Param FORM variables. --->
- <cfparam
- name="URL.Reg"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.fname"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.lname"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.universityId"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.classification"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.school"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.department"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.address1"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.address2"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.email"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.phone"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMfname"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMlname"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMuniversityId"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMschool"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMdepartment"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMaddress1"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMaddress2"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMemail"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.NOMphone"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.nominationLetter"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.curriculumVita"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.recommendation"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.recommendation2"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.recommendation3"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.recommendation4"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.recommendation5"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.recommendation6"
- type="string"
- default=""
- />
- <cfparam
- name="FORM.captcha"
- type="string"
- default=""
- />
- <!---
- For the form submission flag, since we are asking
- it to be of type numeric, we have to catch the
- CFParam in case someone has hacked the HTML and
- altered the value being sent (a non-numeric value
- will throw a ColdFusion error).
- --->
- <cftry>
- <cfparam
- name="FORM.submitted"
- type="numeric"
- default="0"
- />
- <!--- Catch CFParam data type errors. --->
- <cfcatch>
- <cfset FORM.submitted = 0 />
- </cfcatch>
- </cftry>
- <!--- Define an array to catch the form errors. --->
- <cfset arrErrors = ArrayNew( 1 ) />
- <!--- Check to see if the form has been submitted. --->
- <cfif FORM.submitted>
- <!---
- Now that the form has been submitted, we need
- to validate the data.
- --->
- <!--- Validate first name. --->
- <cfif NOT Len( FORM.fname )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter the nominee's first name."
- ) />
- </cfif>
- <!--- Validate last name. --->
- <cfif NOT Len( FORM.lname )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter the nominee's last name."
- ) />
- </cfif>
- <!--- Validate id number. --->
- <cfif NOT Len( FORM.universityId )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter the nominee's ten-digit University ID."
- ) />
- </cfif>
- <!--- Validate rank. --->
- <cfif NOT Len( FORM.classification )>
- <cfset ArrayAppend(
- arrErrors,
- "Please select the nominee's classification."
- ) />
- </cfif>
- <!--- Validate school. --->
- <cfif NOT Len( FORM.school )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter the nominee's school."
- ) />
- </cfif>
- <!--- Validate campus address. --->
- <cfif NOT Len( FORM.address1)>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter the nominee's campus address."
- ) />
- </cfif>
- <!--- Validate email address. --->
- <cfif not len(trim(form.email)) or not isValid("email", form.email)>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter the nominee's University email address."
- ) />
- </cfif>
- <!--- Validate campus phone. --->
- <cfif NOT Len( FORM.phone)>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter the nominee's campus phone number."
- ) />
- </cfif>
- <!---Validate Nominator's first name--->
- <cfif NOT Len( FORM.NOMfname )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter nominator's first name."
- ) />
- </cfif>
- <!---Validate Nominator's last name--->
- <cfif NOT Len( FORM.NOMlname )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter nominator's last name."
- ) />
- </cfif>
- <!---Validate Nominator's id number--->
- <cfif NOT Len( FORM.NOMuniversityId )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter nominator's ten-digit University ID."
- ) />
- </cfif>
- <!---Validate Nominator's school--->
- <cfif NOT Len( FORM.NOMschool )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter nominator's school."
- ) />
- </cfif>
- <!---Validate Nominator's address--->
- <cfif NOT Len( FORM.NOMaddress1 )>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter nominator's address."
- ) />
- </cfif>
- <!---Validate Nominator's email--->
- <cfif not len(trim(form.NOMemail)) or not isValid("email", form.NOMemail)>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter nominator's email address."
- ) />
- </cfif>
- <!--- Validate nominator's phone number. --->
- <cfif NOT Len( FORM.NOMphone)>
- <cfset ArrayAppend(
- arrErrors,
- "Please enter nominator's campus phone number."
- ) />
- </cfif>
- <!---
- When it comes to validating the documents, we want to
- check to see if they selected one. Then, once they
- selected one, we ONLY want to mess with it if there
- are no errors caused by other form fields.
- --->
- <!--- Validate nomination letter. --->
- <cfif NOT Len( FORM.nominationLetter )>
- <cfset ArrayAppend(
- arrErrors,
- "Please select a file to upload as your nomination letter."
- ) />
- </cfif>
- <!--- Validate curriculum vita. --->
- <cfif NOT Len( FORM.curriculumVita )>
- <cfset ArrayAppend(
- arrErrors,
- "Please select a file to upload as your curriculum vita."
- ) />
- </cfif>
- <!--- Validate first recommendation document. --->
- <cfif NOT Len( FORM.recommendation )>
- <cfset ArrayAppend(
- arrErrors,
- "Please select a file to upload as your first recommendation letter."
- ) />
- </cfif>
- <!---Validate CAPTCHA --->
- <cfif hash(form.captcha) neq form.captchaHash>
- <cfset ArrayAppend(
- arrErrors,
- "You did not enter the correct security text."
- ) />
- <cfelseif NOT ArrayLen( arrErrors )>
- <!---Set file upload destination path to nominationUploads/firstname_lastname--->
- <cfset destination = expandPath("./nominationUploads/#fname#_#lname#/")>
- <!---If the destination directory does not exist, create it. This will be unique for each nominee.--->
- <cfif not directoryExists(destination)>
- <cfdirectory action="create" directory="#destination#">
- </cfif>
- <!---Upload document to the destination. Accept only MSWord, PDF, RTF and plain text files.--->
- <cffile action="upload"
- filefield="nominationLetter"
- accept="application/msword, application/pdf, application/rtf, text/plain, application/vnd.ms-word.document.12, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- destination="#destination#"
- nameconflict="makeunique">
- <!--- Create variable to reference the original document name and extension uploaded from client.--->
- <cfset clientNominationLetter = #file.ClientFile#>
- <!---Create variable to reference renamed document. Retain orignal file extension.--->
- <cfset renameNomination = "nominationLetter"&"."&#cffile.clientFileExt#>
- <!---Rename uploaded document using variable. Save renamed document to original destination.--->
- <cffile action="rename"
- source="#destination##File.ServerFile#"
- destination="#destination##Trim(renameNomination)#">
- <!---Upload document to the destination. Accept only MSWord, PDF, RTF and plain text files.--->
- <cffile action="upload"
- filefield="curriculumVita"
- accept="application/msword, application/pdf, application/rtf, text/plain, application/vnd.ms-word.document.12, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- destination="#destination#"
- nameconflict="makeunique">
- <!--- Create variable to reference the original document name and extension uploaded from client.--->
- <cfset clientCurriculumVita = #file.ClientFile#>
- <!---Create variable to reference renamed document. Retain orignal file extension.--->
- <cfset renameCurriculumVita = "curriculumVita"&"."&#cffile.clientFileExt#>
- <!---Rename uploaded document using variable. Save renamed document to original destination.--->
- <cffile action="rename"
- source="#destination##File.ServerFile#"
- destination="#destination##Trim(renameCurriculumVita)#">
- <!---Upload document to the destination. Accept only MSWord, PDF, RTF and plain text files.--->
- <cffile action="upload"
- filefield="recommendation"
- accept="application/msword, application/pdf, application/rtf, text/plain, application/vnd.ms-word.document.12, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- destination="#destination#"
- nameconflict="makeunique">
- <!--- Create variable to reference the original document name and extension uploaded from client.--->
- <cfset clientRecommendation = #file.ClientFile#>
- <!---Create variable to reference renamed document. Retain orignal file extension.--->
- <cfset renameRecommendation = "recommendation"&"."&#cffile.clientFileExt#>
- <!---Rename uploaded document using variable. Save renamed document to original destination.--->
- <cffile action="rename"
- source="#destination##File.ServerFile#"
- destination="#destination##Trim(renameRecommendation)#">
- <cfif Len(form.recommendation2)>
- <!---Upload document to the destination. Accept only MSWord, PDF, RTF and plain text files.--->
- <cffile action="upload"
- filefield="recommendation2"
- accept="application/msword, application/pdf, application/rtf, text/plain, application/vnd.ms-word.document.12, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- destination="#destination#"
- nameconflict="makeunique">
- <!--- Create variable to reference the original document name and extension uploaded from client.--->
- <cfset clientRecommendation2 = #file.ClientFile#>
- <!---Create variable to reference renamed document. Retain orignal file extension.--->
- <cfset renameRecommendation2 = "recommendation2"&"."&#cffile.clientFileExt#>
- <!---Rename uploaded document using variable. Save renamed document to original destination.--->
- <cffile action="rename"
- source="#destination##File.ServerFile#"
- destination="#destination##Trim(renameRecommendation2)#">
- </cfif>
- <cfif Len(form.recommendation3)>
- <!---Upload document to the destination. Accept only MSWord, PDF, RTF and plain text files.--->
- <cffile action="upload"
- filefield="recommendation3"
- accept="application/msword, application/pdf, application/rtf, text/plain, application/vnd.ms-word.document.12, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- destination="#destination#"
- nameconflict="makeunique">
- <!--- Create variable to reference the original document name and extension uploaded from client.--->
- <cfset clientRecommendation3 = #file.ClientFile#>
- <!---Create variable to reference renamed document. Retain orignal file extension.--->
- <cfset renameRecommendation3 = "recommendation3"&"."&#cffile.clientFileExt#>
- <!---Rename uploaded document using variable. Save renamed document to original destination.--->
- <cffile action="rename"
- source="#destination##File.ServerFile#"
- destination="#destination##Trim(renameRecommendation3)#">
- </cfif>
- <cfif Len(form.recommendation4)>
- <!---Upload document to the destination. Accept only MSWord, PDF, RTF and plain text files.--->
- <cffile action="upload"
- filefield="recommendation4"
- accept="application/msword, application/pdf, application/rtf, text/plain, application/vnd.ms-word.document.12, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- destination="#destination#"
- nameconflict="makeunique">
- <!--- Create variable to reference the original document name and extension uploaded from client.--->
- <cfset clientRecommendation4 = #file.ClientFile#>
- <!---Create variable to reference renamed document. Retain orignal file extension.--->
- <cfset renameRecommendation4 = "recommendation4"&"."&#cffile.clientFileExt#>
- <!---Rename uploaded document using variable. Save renamed document to original destination.--->
- <cffile action="rename"
- source="#destination##File.ServerFile#"
- destination="#destination##Trim(renameRecommendation4)#">
- </cfif>
- <cfif Len(form.recommendation5)>
- <!---Upload document to the destination. Accept only MSWord, PDF, RTF and plain text files.--->
- <cffile action="upload"
- filefield="recommendation5"
- accept="application/msword, application/pdf, application/rtf, text/plain, application/vnd.ms-word.document.12, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- destination="#destination#"
- nameconflict="makeunique">
- <!--- Create variable to reference the original document name and extension uploaded from client.--->
- <cfset clientRecommendation5 = #file.ClientFile#>
- <!---Create variable to reference renamed document. Retain orignal file extension.--->
- <cfset renameRecommendation5 = "recommendation5"&"."&#cffile.clientFileExt#>
- <!---Rename uploaded document using variable. Save renamed document to original destination.--->
- <cffile action="rename"
- source="#destination##File.ServerFile#"
- destination="#destination##Trim(renameRecommendation5)#">
- </cfif>
- <cfif Len(form.recommendation6)>
- <!---Upload document to the destination. Accept only MSWord, PDF, RTF and plain text files.--->
- <cffile action="upload"
- filefield="recommendation6"
- accept="application/msword, application/pdf, application/rtf, text/plain, application/vnd.ms-word.document.12, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- destination="#destination#"
- nameconflict="makeunique">
- <!--- Create variable to reference the original document name and extension uploaded from client.--->
- <cfset clientRecommendation6 = #file.ClientFile#>
- <!---Create variable to reference renamed document. Retain orignal file extension.--->
- <cfset renameRecommendation6 = "recommendation6"&"."&#cffile.clientFileExt#>
- <!---Rename uploaded document using variable. Save renamed document to original destination.--->
- <cffile action="rename"
- source="#destination##File.ServerFile#"
- destination="#destination##Trim(renameRecommendation6)#">
- </cfif>
- </cfif>
- <!---
- Now that we have validated our form data, let's
- check to see if there are any form validation
- errors. Only if there are no errors do w want to
- continue processing the data - otherwise, we want
- to skip this next part and let the form re-render.
- --->
- <cfif NOT ArrayLen( arrErrors )>
- <cfquery name="qAddNominee" datasource="myDSN">
- INSERT INTO myTable (submitDate,
- fname,
- lname,
- universityID,
- classification,
- school,
- department,
- address1,
- address2,
- email,
- phone,
- NOMfname,
- NOMlname,
- NOMuniversityID,
- NOMschool,
- NOMdepartment,
- NOMaddress1,
- NOMaddress2,
- NOMemail,
- NOMphone)
- VALUES ('#DateFormat(now(), "mm/dd/yyyy")#',
- '#fname#',
- '#lname#',
- '#universityID#',
- '#classification#',
- '#school#',
- '#department#',
- '#address1#',
- '#address2#',
- '#email#',
- '#phone#',
- '#NOMfname#',
- '#NOMlname#',
- '#NOMuniversityID#',
- '#NOMschool#',
- '#NOMdepartment#',
- '#NOMaddress1#',
- '#NOMaddress2#',
- '#NOMemail#',
- '#NOMphone#')
- </cfquery>
- <cfmail
- to="#NOMEmail#"
- from="email"
- subject="Award"
- type="html"
- failto="email"
- >
- <p>Hello,</p>
- <p>
- The following nomination has been
- submitted through the <a href="#CGI.HTTP_REFERER#">Alvin S. Bynum Mentor Award web site</a> on
- #DateFormat( Now(), "mmm d, yyyy" )# at
- #TimeFormat( Now(), "h:mm TT" )#.
- </p>
- <h3>Nominee Details</h3>
- <ul>
- <li>First Name: #form.fname#</li>
- <li>Last Name: #form.lname#</li>
- <li>University ID: #form.universityId#</li>
- <li>Classificaiton: #form.classification#</li>
- <li>School Affiliation: #form.school#</li>
- <cfif len("form.department") GTE 1><li>Department: #form.department#</li></cfif>
- <li>Campus Address: #form.address1#
- <cfif len(form.address2) GTE 1><li>Campus Address: #form.address2#</li></cfif>
- <li>University Email: #form.email#</li>
- <li>University Phone: #form.phone#</li>
- </ul>
- <br />
- <h3>Nominator Details</h3>
- <ul>
- <li>First Name: #form.NOMfname#</li>
- <li>Last Name: #form.NOMlname#</li>
- <li>University ID: #form.NOMuniversityId#</li>
- <li>School Affiliation: #form.NOMschool#</li>
- <cfif len("form.NOMdepartment") GTE 1><li>Department: #form.NOMdepartment#</li></cfif>
- <li>Campus Address 1: #NOMaddress1#
- <cfif len("form.NOMaddress2") GTE 1><li>Campus Address 2: #form.NOMaddress2#</li></cfif>
- <li>University Email: #form.NOMemail#</li>
- <li>University Phone: #form.NOMphone#</li>
- </ul>
- <br />
- <h3>Document Details</h3>
- <ul>
- <li>Nomination Letter: <cfoutput>#clientNominationLetter#</cfoutput></li>
- <li>Curriculum Vita: <cfoutput>#clientCurriculumVita#</cfoutput></li>
- <li>Recommendation Letter: <cfoutput>#clientRecommendation#</cfoutput></li>
- <cfif Len(form.recommendation2)><li>Recommendation Letter ##2: <cfoutput>#clientRecommendation2#</cfoutput></li></cfif>
- <cfif Len(form.recommendation3)><li>Recommendation Letter ##3: <cfoutput>#clientRecommendation3#</cfoutput></li></cfif>
- <cfif Len(form.recommendation4)><li>Recommendation Letter ##4: <cfoutput>#clientRecommendation4#</cfoutput></li></cfif>
- <cfif Len(form.recommendation5)><li>Recommendation Letter ##5: <cfoutput>#clientRecommendation5#</cfoutput></li></cfif>
- <cfif Len(form.recommendation6)><li>Recommendation Letter ##6: <cfoutput>#clientRecommendation6#</cfoutput></li></cfif>
- </ul>
- <br />
- <p>Thank you.</p>
- <!---
- At this point, you would probably forward
- the user to another page using something
- like CFLocation.
- --->
- </cfmail>
- <cflocation url="index.cfm?reg=y">
- </cfif>
- </cfif>
- </cfsilent>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Award</title>
- <link rel="icon" href="favicon.ico" type="image/x-icon" />
- <script src="../../js/jquery.js" language="text/javascript"></script>
- <script src="../../js/charLimter.js" language="text/javascript"></script>
- <script src="expand.js" type="text/javascript"></script>
- </head>
- <body>
- <!--Holds Right area for main section -->
- <div id="rightFaa">
- <h3><strong>AWARD – 2011</strong></h3>
- <cfif #now()# GTE '1/18/2011'>
- <p>Nominations for the 2011 awards cycle have closed. We will begin to accept submissions for the 2012 awards cycle in October. Thank you for your interest.</p>
- <cfelse>
- <cfoutput>
- <!--- Check to see if we have any form errors. --->
- <cfif ArrayLen( arrErrors )>
- <h4>Please review the following:</h4>
- <ul>
- <cfloop
- index="intError"
- from="1"
- to="#ArrayLen( arrErrors )#"
- step="1">
- <li>
- <div class="required">#arrErrors[ intError ]#</div>
- </li>
- </cfloop>
- </ul>
- </cfif>
- </cfoutput>
- <cfif URL.Reg EQ "Y">
- <p>Thank you for your submission</p>
- <p class="attention"> </p>
- <cfelse>
- <p>
- <p class="attention">PLEASE VERIFY THAT YOUR CANDIDATE MEETS ALL ELIGIBILITY REQUIREMENTS AND YOU HAVE ACCESS TO ALL RELEVANT INFORMATION BEFORE SUBMITTING YOUR NOMINATION.</p>
- <cfoutput>
- <div>
- <form
- action="#cgi.SCRIPT_NAME#"
- method="post"
- enctype="multipart/form-data">
- <!--- Our form submission flag. --->
- <input type="hidden" name="submitted" value="1" />
- <p>Fields marked <span class="required">&##8727;</span> are required.</p>
- <fieldset>
- <legend>Nominee Information</legend>
- <div class="notes">
- <h4>Eligibility</h4>
- <p class="last">Those eligible include full- and part-time faculty and academic professional staff, including all advisors, mentors, and counselors at the TE, PA, and PB employee classifications.</p>
- </div>
- <ol>
- <li>
- <label for="first name"><span class="required">&##8727;</span>First Name:</label>
- <input id="fname" name="fname" class="text" type="text" maxlength="25" value="#form.fname#" tabindex="1"/>
- </li>
- <li>
- <label for="last name"><span class="required">&##8727;</span>Last Name:</label>
- <input id="lname" name="lname" class="text" type="text" maxlength="25" value="#form.lname#" tabindex="2"/>
- </li>
- <li>
- <label for="university id"><span class="required">&##8727;</span>University ID:</label>
- <input id="universityId" name="universityId" class="text" type="text" maxlength="10" value="#form.universityId#" tabindex="3"/>
- </li>
- <li>
- <label for="classification"><span class="required">&##8727;</span>Classification:</label>
- <select name="classification" tabindex="4"/>
- <option value="">– select –</option>
- <option value="faculty">Faculty (Full- or part-time)</option>
- <option value="staff">Professional Staff (TE, PA, or PB)</option>
- </select>
- </li>
- <br />
- <li>
- <label for="school"><span class="required">&##8727;</span>School:</label>
- <input id="school" name="school" type="text" maxlength="50" value="#form.school#" tabindex="5"/>
- </li>
- <li>
- <label for="department">Department:</label>
- <input id="department" name="department" class="text" type="text" maxlength="50" value="#form.department#" tabindex="6"/>
- </li>
- <li>
- <label for="address 1"><span class="required">&##8727;</span>Campus Address:</label>
- <input id="address1" name="address1" class="text" type="text" maxlength="50" value="#form.address1#" tabindex="7"/>
- </li>
- <li>
- <label for="address 2"> </label>
- <input id="address2" name="address2" class="text" type="text" maxlength="50" value="#form.address2#" tabindex="8"/>
- </li>
- <li>
- <label for="email"><span class="required">&##8727;</span>University Email:</label>
- <input id="email" name="email" class="text" type="text" maxlength="20" value="#form.email#" tabindex="9"/>
- </li>
- <li>
- <label for="phone"><span class="required">&##8727;</span>University Phone Number:</label>
- <input id="phone" name="phone" class="text" type="text" maxlength="20" value="#form.phone#" tabindex="10"/>
- </li>
- </ol>
- </fieldset>
- <fieldset class="nominator">
- <legend>Nominator Information</legend>
- <div class="notes">
- <h4>Nominator Information</h4>
- <p class="last">Please enter your information.</p>
- <p class="last"><br />
- For jointly prepared nominations, only one Nominator's information can be entered as a contact. All other Nominators can be accounted for at the end of the Nomination Letter.</p>
- </div>
- <ol>
- <li>
- <label for="NOMfname"><span class="required">&##8727;</span>First Name:</label>
- <input id="fname" name="NOMfname" class="text" type="text" maxlength="25" value="#form.NOMfname#" tabindex="11"/>
- </li>
- <li>
- <label for="NOMlname"><span class="required">&##8727;</span>Last Name:</label>
- <input id="lname" name="NOMlname" class="text" type="text" maxlength="25" value="#form.NOMlname#" tabindex="12"/>
- </li>
- <li>
- <label for="NOMuniversityId"><span class="required">&##8727;</span>University ID:</label>
- <input id="universityId" name="NOMuniversityId" class="text" type="text" maxlength="10" value="#form.NOMuniversityId#" tabindex="13"/>
- </li>
- <li>
- <label for="NOMschool"><span class="required">&##8727;</span>School:</label>
- <input id="school" name="NOMschool" class="text" type="text" maxlength="50" value="#form.NOMschool#" tabindex="14"/>
- </li>
- <li>
- <label for="NOMdepartment">Department:</label>
- <input id="department" name="NOMdepartment" class="text" type="text" maxlength="50" value="#form.NOMdepartment#" tabindex="15"/>
- </li>
- <li>
- <label for="NOMaddress1"><span class="required">&##8727;</span>Campus Address:</label>
- <input id="address1" name="NOMaddress1" class="text" type="text" maxlength="50" value="#form.NOMaddress1#" tabindex="16"/>
- </li>
- <li>
- <label for="NOMaddress2"> </label>
- <input id="address2" name="NOMaddress2" class="text" type="text" maxlength="50" value="#form.NOMaddress2#" tabindex="17"/>
- </li>
- <li>
- <label for="NOMemail"><span class="required">&##8727;</span>University Email:</label>
- <input id="email" name="NOMemail" class="text" type="text" maxlength="20" value="#form.NOMemail#" tabindex="18"/>
- </li>
- <li>
- <label for="NOMphone"><span class="required">&##8727;</span>University Phone:</label>
- <input id="phone" name="NOMphone" class="text" type="text" maxlength="20" value="#form.NOMphone#" tabindex="19"/>
- </li>
- </ol>
- </fieldset>
- <fieldset>
- <legend>Supporting Documents</legend>
- <div class="notes">
- <h4>Document Information</h4>
- <p class="last">Please upload documents that are in the format of PDF, DOC, DOCX, RTF, or TXT.</p>
- </div>
- <ol>
- <li>
- <label for="nomination letter"><span class="required">&##8727;</span>Nomination Letter:</label>
- <input type="file" name="nominationLetter"tabindex="20">
- </li>
- <br />
- <li>
- <label for="curriculumVita"><span class="required">&##8727;</span>Candidate's Curriculum Vita:</label>
- <input type="file" name="curriculumVita" tabindex="21">
- </li>
- <br />
- <li>
- <label for="recommendation"><span class="required">&##8727;</span>Recommendation Letter 1:</label>
- <input type="file" name="recommendation" tabindex="22">
- </li>
- <br />
- <li>
- <label for="recommendation">Recommendation Letter 2:</label>
- <input type="file" name="recommendation2" tabindex="23">
- </li>
- <br />
- <li>
- <label for="recommendation">Recommendation Letter 3:</label>
- <input type="file" name="recommendation3" tabindex="24">
- </li>
- <br />
- <li>
- <label for="recommendation">Recommendation Letter 4:</label>
- <input type="file" name="recommendation4" tabindex="25">
- </li>
- <br />
- <li>
- <label for="recommendation">Recommendation Letter 5:</label>
- <input type="file" name="recommendation5" tabindex="26">
- </li>
- <br />
- <li>
- <label for="recommendation">Recommendation Letter 6:</label>
- <input type="file" name="recommendation6" tabindex="27">
- </li>
- <br />
- <li>
- <label for="security"><span class="required">&##8727;</span>Enter Text Below (case-sensitive):</label>
- <input id="captcha" name="captcha" class="text" type="text" tabindex="30"/>
- </li>
- </ol>
- <cfset captcha = makeRandomString()>
- <cfset captchaHash = hash(captcha)>
- <input type="hidden" name="captchaHash" value="#captchaHash#">
- <cfimage action="captcha" width="300" height="55" text="#captcha#" fonts="verdana,arial" >
- </fieldset>
- <br />
- <input type="hidden" value="#Now()#" />
- <p class="attention">IMPORTANT! If a required field is left blank, you will have to re-upload all documents and drop-down field information.</p>
- <input type="submit" value="Submit Application" tabindex="31"/>
- </form>
- </div>
- </cfoutput>
- </cfif>
- </cfif>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement