Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@LANGUAGE="VBSCRIPT"%>
- <!--#include file="form-functions.asp" -->
- <%
- ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- FormAction = "step-2.asp"
- FormButton1 = ""
- FormButton2 = "Next"
- StepNum = "1"
- ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- SQL = "SELECT * FROM teachapp WHERE UsersRef = '" & UsersRef & "'"
- Set RS = Conn.execute(SQL)
- if RS.EOF then
- ShowLogin = True
- else
- postof = RS("sONEpostof")
- title = RS("sONEtitle")
- forename = RS("sONEforename")
- surname = RS("sONEsurname")
- previousname = RS("sONEpreviousname")
- address = RS("sONEaddress")
- town = RS("sONEtown")
- county = RS("sONEcounty")
- postcode = RS("sONEpostcode")
- home = RS("sONEhome")
- mobile = RS("sONEmobile")
- work = RS("sONEwork")
- telpreferred = RS("sONEtelpreferred")
- workcontact = RS("sONEworkcontact")
- email = RS("sONEemail")
- password = RS("sONEpassword")
- natno = RS("sONEnatno")
- qts = RS("sONEqts")
- qtsaward = RS("sONEqtsaward")
- qtsno = RS("sONEqtsno")
- dfecomplete = RS("sONEdfecomplete")
- dfedate = RS("sONEdfedate")
- gtcref = RS("sONEgtcref")
- gtcreg = RS("sONEgtcreg")
- gtccondition = RS("sONEgtccondition")
- presentpost = RS("sONEpresentpost")
- appointed = RS("sONEappointed")
- schoolname = RS("sONEschoolname")
- schooltype = RS("sONEschooltype")
- schooladdress = RS("sONEschooladdress")
- schooltown = RS("sONEschooltown")
- schoolcounty = RS("sONEschoolcounty")
- schoolpostcode = RS("sONEschoolpostcode")
- schoolgender = RS("sONEschoolgender")
- schoolroll = RS("sONEschoolroll")
- schoolage = RS("sONEschoolage")
- points = RS("sONEpoints")
- salarybasic = RS("sONEsalarybasic")
- salaryplus = RS("sONEsalaryplus")
- csaemploy = RS("sONEcsaemploy")
- otheraddress = RS("sONEotheraddress")
- othertown = RS("sONEothertown")
- othercounty = RS("sONEothercounty")
- otherpostcode = RS("sONEotherpostcode")
- othertel = RS("sONEothertel")
- end if
- ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- %>
- <script language="JavaScript" type="text/JavaScript">
- <!--
- function CheckForm() {
- emailCheck = document.application.email.value.indexOf("@", 1)
- stopCheck = document.application.email.value.indexOf(".", 1)
- if ((document.application.title.value.length == 0) || (document.application.title.value == "Mr, Mrs, Miss, Ms, Other")) {
- window.alert('Please enter a title');
- document.application.title.focus(); return false
- }
- if (document.application.surname.value.length == 0) {
- window.alert('Please enter your surname');
- document.application.surname.focus(); return false
- }
- if (document.application.forename.value.length == 0) {
- window.alert('Please enter your first name.');
- document.application.forename.focus(); return false
- }
- if (document.application.address.value.length == 0) {
- window.alert('Please enter your address.');
- document.application.address.focus(); return false
- }
- if (document.application.town.value.length == 0) {
- window.alert('Please enter your town.');
- document.application.town.focus(); return false
- }
- if (document.application.county.value.length == 0) {
- window.alert('Please enter your county.');
- document.application.county.focus(); return false
- }
- if (document.application.postcode.value.length == 0) {
- window.alert('Please enter your postcode.');
- document.application.postcode.focus(); return false
- }
- if (document.application.home.value.length == 0) {
- window.alert('Please enter a home phone number.');
- document.application.home.focus(); return false
- }
- if (document.application.mobile.value.length == 0) {
- window.alert('Please enter a mobile phone number.');
- document.application.mobile.focus(); return false
- }
- if ((document.application.email.value.length <= 5) || (emailCheck == -1) || (stopCheck == -1)) {
- window.alert('Please enter your email address.');
- document.application.email.focus(); return false
- }
- if (document.application.password.value.length == 0) {
- window.alert('Please enter a password to save your application.');
- document.application.password.focus(); return false
- }
- if (document.application.natno.value.length == 0) {
- window.alert('Please enter your Nastional Insurance Number.');
- document.application.natno.focus(); return false
- }
- else {
- return true
- }
- }
- //-->
- </script>
- <!--#include file="form-header.asp" -->
- <p class="BodyText"><strong>Application for the post of:</strong><input name="postof" type="text" class="Fieldsign" id="postof" value="<%=postof%>"/></p>
- <div class="ClearBoth"></div>
- <div class="FormHeader"><strong>PERSONAL DETAILS</strong></div>
- <div class="FormLeft">
- <div class="FieldRow">
- <div class="FieldName">Title:</div>
- <div class="FieldText"><input name="title" type="text" class="FieldMedium" id="title" value="<%=title%>" onFocus="javascript: if (this.value=='Mr, Mrs, Miss, Ms, Other') { this.value='';}"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Surname:</div>
- <div class="FieldText"><input name="surname" type="text" class="FieldMedium" id="surname" value="<%=surname%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Forename(s):</div>
- <div class="FieldText"><input name="forename" type="text" class="FieldMedium" id="forename" value="<%=forename%>"/></div>
- </div>
- <div class="FieldRow" style="height: 50px;">
- <div class="FieldName">Previous Name(s)(including Maiden name if applicable):</div>
- <div class="FieldText"><input name="previousname" type="text" class="FieldMedium" id="previousname" value="<%=previousname%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Home Address:</div>
- <div class="FieldText"><input name="address" type="text" class="FieldLong" id="address" value="<%=address%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Town:</div>
- <div class="FieldText"><input name="town" type="text" class="FieldMedium" id="town" value="<%=town%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">County:</div>
- <div class="FieldText"><input name="county" type="text" class="FieldMedium" id="county" value="<%=county%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Postcode:</div>
- <div class="FieldText"><input name="postcode" type="text" class="FieldMedium" id="postcode" value="<%=postcode%>"/></div>
- </div>
- <div class="FieldRow" style="height: 40px;">
- <div class="FieldName">Home Tel No:</div>
- <div class="FieldText"><input name="home" type="text" class="FieldMedium" id="home" value="<%=home%>"/><br /><label><input name="telpreferred" type="radio" value="Home" <%=CHECKED(telpreferred,"Home")%> />Preferred</label></div>
- </div>
- <div class="FieldRow" style="height: 40px;">
- <div class="FieldName">Mobile No:</div>
- <div class="FieldText"><input name="mobile" type="text" class="FieldMedium" id="mobile" value="<%=mobile%>"/><br /><label><input name="telpreferred" type="radio" value="Mobile" <%=CHECKED(telpreferred,"Mobile")%> />Preferred</label></div>
- </div>
- <div class="FieldRow" style="height: 40px;">
- <div class="FieldName">Work No:</div>
- <div class="FieldText"><input name="work" type="text" class="FieldMedium" id="work" value="<%=work%>"/><br /><label><input name="telpreferred" type="radio" value="Work" <%=CHECKED(telpreferred,"Work")%> />Preferred</label></div>
- </div>
- <div class="FieldRow" >
- <div class="FieldName">May we contact you at work</div>
- <div class="FieldText"><label><input type="radio" name="workcontact" value="Yes" <%=CHECKED(workcontact,"Yes")%>/>Yes</label><label><input name="workcontact" type="radio" value="No" <%=CHECKED(workcontact,"No")%> />No</label></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Email:</div>
- <div class="FieldText"><input name="email" type="text" class="FieldLong" id="email" value="<%=email%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Password (For saving):</div>
- <div class="FieldText"><input name="password" type="password" class="FieldLong" id="password" value="<%=password%>" /></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">National Insurance Number:</div>
- <div class="FieldText"><input name="natno" type="text" class="FieldLong" id="natno" value="<%=natno%>"/></div>
- </div>
- </div>
- <div class="FormRight">
- <div class="FieldRow" style="height: 50px;">
- <div class="FieldName">Do you hold qualified teacher status?</div>
- <div class="FieldText"><label><input type="radio" name="qts" value="Yes" <%=CHECKED(qts,"Yes")%>/>Yes</label><label><input name="qts" type="radio" value="No" <%=CHECKED(qts,"No")%> />No</label></div>
- </div>
- <div class="FieldRow" >
- <div class="FieldName">if yes,please give date of award:</div>
- <div class="FieldText"><input name="qtsaward" type="text" class="FieldLong" id="qtsaward" value="<%=qtsaward%>"/></div>
- </div>
- <div class="FieldRow" style="height: 50px;">
- <div class="FieldName">QTS Certificate Number (If available):</div>
- <div class="FieldText"><input name="qtsno" type="text" class="FieldLong" id="qtsno" value="<%=qtsno%>"/></div>
- </div>
- <div class="FieldRow" style="height: 90px;">
- <div class="FieldName">Have you successfully completed a period of induction as a qualified teacher in this country where the DfE requires this?</div>
- <div class="FieldText"><label><input type="radio" name="dfecomplete" value="Yes" <%=CHECKED(dfecomplete,"Yes")%> />Yes</label><label><input name="dfecomplete" type="radio" value="No" <%=CHECKED(dfecomplete,"No")%> />No</label></div>
- </div>
- <div class="FieldRow" style="height: 50px;">
- <div class="FieldName">If yes, please give date of completion:</div>
- <div class="FieldText"><input name="dfedate" type="text" class="FieldLong" id="dfedate" value="<%=dfedate%>"/></div>
- </div>
- <div class="FieldRow" style="height: 50px;">
- <div class="FieldName">GTC Teacher Reference Number (DfE number)(eg 12/34567):</div>
- <div class="FieldText"><input name="gtcref" type="text" class="FieldLong" id="gtcref" value="<%=gtcref%>"/></div>
- </div>
- <div class="FieldRow" style="height: 50px;">
- <div class="FieldName">Are you registered with the GTC?</div>
- <div class="FieldText"><label><input type="radio" name="gtcreg" value="Yes" <%=CHECKED(gtcreg,"Yes")%>/>Yes</label><label><input name="gtcreg" type="radio" value="No" <%=CHECKED(gtcreg,"No")%>/>No</label></div>
- </div>
- <div class="FieldRow" style="height: 90px;">
- <div class="FieldName">Are you subject to any conditions of prohibitions placed on you by the GTC (or another GTC in the UK?)</div>
- <div class="FieldText"><label><input type="radio" name="gtccontick" value="Yes" <%=CHECKED(gtccontick,"Yes")%>/>Yes</label><label><input name="gtccontick" type="radio" value="No" <%=CHECKED(gtccontick,"No")%>/>No</label></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">if yes please give full details:</div>
- <div class="FieldText"><input name="gtccondition" type="text" class="FieldLong" id="gtccondition" value="<%=gtccondition%>"/></div>
- </div>
- </div>
- <div class="ClearBoth"></div>
- <div class="FormHeader"><strong>PRESENT POSITION</strong></div>
- <div class="FormLeft">
- <div class="FieldRow">
- <div class="FieldName">Present post:</div>
- <div class="FieldText"><input name="presentpost" type="text" class="FieldMedium" id="presentpost" value="<%=presentpost%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Date Appointed (DD-MM-YYYY):</div>
- <div class="FieldText"><input name="appointed" type="text" class="FieldLong" id="appointed" value="<%=appointed%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">School/Establishment Name:</div>
- <div class="FieldText"><input name="schoolname" type="text" class="FieldMedium" id="schoolname" value="<%=schoolname%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">School Type:</div>
- <div class="FieldText"><input name="schooltype" type="text" class="FieldMedium" id="schooltype" value="<%=schooltype%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Address:</div>
- <div class="FieldText"><input name="schooladdress" type="text" class="FieldLong" id="schooladdress" value="<%=schooladdress%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Town:</div>
- <div class="FieldText"><input name="schooltown" type="text" class="FieldMedium" id="schooltown" value="<%=schooltown%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">County:</div>
- <div class="FieldText"><input name="schoolcounty" type="text" class="FieldMedium" id="schoolcounty" value="<%=schoolcounty%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Postcode:</div>
- <div class="FieldText"><input name="schoolpostcode" type="text" class="FieldMedium" id="schoolpostcode" value="<%=schoolpostcode%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Single sex or mixed:</div>
- <div class="FieldText"><label><input type="radio" name="schoolgender" value="Single" <%=CHECKED(schoolgender,"Single")%>/>Single</label><label><input name="schoolgender" type="radio" value="" <%=CHECKED(schoolgender,"Mixed")%> />Mixed</label></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Number on roll (Total):</div>
- <div class="FieldText"><input name="schoolroll" type="text" class="FieldLong" id="schoolroll" value="<%=schoolroll%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Age Range</div>
- <div class="FieldText"><input name="schoolage" type="text" class="FieldLong" id="schoolage" value="<%=schoolage%>"/></div>
- </div>
- </div>
- <div class="FormRight">
- <div class="FieldRow">
- <div class="FieldName">Spinal Column Point/Group:</div>
- <div class="FieldText"><input name="points" type="text" class="FieldLong" id="points" value="<%=points%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Salary: Basic £</div>
- <div class="FieldText"><input name="salarybasic" type="text" class="FieldLong" id="salarybasic" value="<%=salarybasic%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Salary: +£ (if applicable)</div>
- <div class="FieldText"><input name="salaryplus" type="text" class="FieldLong" id="salaryplus" value="<%=salaryplus%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">CSA or other Employer:</div>
- <div class="FieldText"><input name="csaemploy" type="text" class="FieldLong" id="csaemploy" value="<%=csaemploy%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Address:</div>
- <div class="FieldText"><input name="otheraddress" type="text" class="FieldLong" id="otheraddress" value="<%=otheraddress%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Town:</div>
- <div class="FieldText"><input name="othertown" type="text" class="FieldMedium" id="othertown" value="<%=othertown%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">County:</div>
- <div class="FieldText"><input name="othercounty" type="text" class="FieldMedium" id="othercounty" value="<%=othercounty%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Postcode:</div>
- <div class="FieldText"><input name="otherpostcode" type="text" class="FieldMedium" id="otherpostcode" value="<%=otherpostcode%>"/></div>
- </div>
- <div class="FieldRow">
- <div class="FieldName">Tel No:</div>
- <div class="FieldText"><input name="othertel" type="text" class="FieldMedium" id="othertel" value="<%=othertel%>"/></div>
- </div>
- </div>
- <div class="ClearBoth"></div>
- <!--#include file="form-footer.asp" -->
Advertisement
Add Comment
Please, Sign In to add comment