Skip to content
Snippets Groups Projects
Commit e97f8bf3 authored by Seth Meranda's avatar Seth Meranda
Browse files

Fix validation errors on page 2 and includes.

parent b0b86f95
No related branches found
No related tags found
No related merge requests found
......@@ -362,16 +362,18 @@ aside dd {
margin-top: -1.8em;
margin-left: 5em;
}
#course_notice .grid4 {
#course_notice {
color: #535353;
background: #F2EDDE;
-webkit-border-radius:5px;
-moz-border-radius:5px;
border-radius:5px;
margin-bottom:24px;
}
#course_notice .grid4 h4 {
text-shadow: -1px -1px 0 #fdfbf3;
}
#course_notice p {padding:10px;}
#course_notice .grid4 section {
padding:10px;
}
......
......@@ -260,7 +260,7 @@
<script type="text/javascript" src="/wdn/templates_3.0/scripts/all.js"></script>
<c:import context="/wdn" url="/templates_3.0/includes/metanfavico_html5.html" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Application for Undergraduate Admission - University of Nebraska&ndashLincoln</title>
<title>Application for Undergraduate Admission - University of Nebraska&ndash;Lincoln</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- Place optional header elements here -->
......@@ -275,7 +275,7 @@
var hiddenAreas = ['#date_ranges', '#non-us', '#native_lang'];
</script>
<!-- Local java script -->
<script language="javascript">
<script type="text/javascript" >
var myPopup
var loadFlag=new Boolean(false);
......@@ -407,7 +407,7 @@
<c:if test="${pageScope.nuviewMessage != null && pageScope.nuviewMessage != 'null'}"> <c:out value="${pageScope.nuviewMessage}"/> </c:if>
<c:if test="${pageScope.errorMessage != null && pageScope.errorMessage != 'null'}"><c:out value="${pageScope.errorMessage}"/> </c:if>
<a href="jsp/ugchecklistf.html" onclick="window.open(this.href)">View the Application Checklist.</a>
<form action="WebAppController?appId=webapp&featureId=ugrad"
<form action="WebAppController?appId=webapp&amp;featureId=ugrad"
method="post"
name="ugPage2"
enctype="application/x-www-form-urlencoded"
......@@ -474,14 +474,14 @@
<legend></legend>
<div>
<label for="HS_Grad_month" class="required">Month <span class="helperText">MM</span></label>
<input required type="text" id="HS_Grad_month" name="HS_Grad_month" value="<c:out value='${ugApp.hsGradDtMm}'/>" size="2" maxlength="2" onchange="validDate(this,'month')" required />
<input required type="text" id="HS_Grad_month" name="HS_Grad_month" value="<c:out value='${ugApp.hsGradDtMm}'/>" maxlength="2" class="validate-digits" onchange="validDate(this,'month')" />
</div>
<div>
<label for="HS_Grad_year" class="required">Year <span class="helperText">YYYY</span></label>
<input required type="text" id="HS_Grad_year" name="HS_Grad_year" value="<c:out value='${ugApp.hsGradDtYyyy}'/>" size="4" maxlength="4" onchange="validDate(this,'year')" required />
<input required type="text" id="HS_Grad_year" name="HS_Grad_year" value="<c:out value='${ugApp.hsGradDtYyyy}'/>" maxlength="4" class="validate-digits" onchange="validDate(this,'month')" />
</div>
<input type="hidden" required name="HS_Grad_month_default" value='<unltags:psDbdTranslate applId="ugrad" elementId="hsGradDtDefault" elementValue="mm"/> '>
<input type="hidden" required name="HS_Grad_year_default" value='<unltags:psDbdTranslate applId="ugrad" elementId="hsGradDtDefault" elementValue="yyyy"/> '>
<input type="hidden" name="HS_Grad_month_default" value='<unltags:psDbdTranslate applId="ugrad" elementId="hsGradDtDefault" elementValue="mm"/> '>
<input type="hidden" name="HS_Grad_year_default" value='<unltags:psDbdTranslate applId="ugrad" elementId="hsGradDtDefault" elementValue="yyyy"/> '>
</fieldset>
</fieldset>
</li>
......@@ -489,10 +489,10 @@
<fieldset>
<legend class="required">Did you or do you plan to graduate at midterm? <span class="helperText">(December)</span></legend>
<label for="midtermGradYes">
<input required type="radio" id="midtermGradYes" name="grad_mid_term" value="Y" <c:if test="${ugApp.gradMidTerm=='Y'}"> checked </c:if> onclick="document.ugPage2.Graduate_Midterm.value='Y';" required /> Yes
<input type="radio" id="midtermGradYes" name="grad_mid_term" value="Y" <c:if test="${ugApp.gradMidTerm=='Y'}"> checked </c:if> onclick="document.ugPage2.Graduate_Midterm.value='Y';" required /> Yes
</label>
<label for="midtermGradNo">
<input required type="radio" id="midtermGradNo" name="grad_mid_term" value="N" <c:if test="${ugApp.gradMidTerm=='N'}"> checked </c:if> onclick="document.ugPage2.Graduate_Midterm.value='N';" required /> No
<input type="radio" id="midtermGradNo" name="grad_mid_term" value="N" <c:if test="${ugApp.gradMidTerm=='N'}"> checked </c:if> onclick="document.ugPage2.Graduate_Midterm.value='N';" required /> No
</label>
</fieldset>
</li>
......@@ -569,10 +569,10 @@
Have you received a bachelor's degree before?
</legend>
<label for="bachelorsYes">
<input required type="radio" id="bachelorsYes" name="bachelors_degree" alt="Bachelors Deg - Yes" value="Y" <c:if test="${ugApp.bachelorsDegree=='Y'}"> checked </c:if> onclick="document.ugPage2.Received_Bachelors.value='Y'; bachelorsDegreeAlert();"/> Yes
<input required type="radio" id="bachelorsYes" name="bachelors_degree" value="Y" <c:if test="${ugApp.bachelorsDegree=='Y'}"> checked </c:if> onclick="document.ugPage2.Received_Bachelors.value='Y'; bachelorsDegreeAlert();"/> Yes
</label>
<label for="bachelorsNo">
<input required type="radio" id="bachelorsNo" name="bachelors_degree" alt="Bacehors deg-No" value="N" <c:if test="${ugApp.bachelorsDegree=='N'}"> checked </c:if> onclick="document.ugPage2.Received_Bachelors.value='N';" /> No
<input required type="radio" id="bachelorsNo" name="bachelors_degree" value="N" <c:if test="${ugApp.bachelorsDegree=='N'}"> checked </c:if> onclick="document.ugPage2.Received_Bachelors.value='N';" /> No
</label>
</fieldset>
</li>
......@@ -681,7 +681,7 @@
</div>
<div>
<label for="sat_dt_yyyy_3">Year <span class="helperText">YYYY</span></label>
<input type="text class="date"" name="sat_dt_yyyy_3" id="sat_dt_yyyy_3" value='<c:out value="${pageScope.satYyyy3}"/>' maxlength="4" onchange="validDate(this,'year');"/>
<input type="text" class="date" name="sat_dt_yyyy_3" id="sat_dt_yyyy_3" value='<c:out value="${pageScope.satYyyy3}"/>' maxlength="4" onchange="validDate(this,'year');"/>
</div>
</fieldset>
</fieldset>
......@@ -802,10 +802,10 @@
<fieldset>
<legend>Are you eligible for Free or Reduced Lunch at your high school?</legend>
<label for="freeLunchYes">
<input type="radio" id="freeLunchYes" name="freeLunch" alt="Reduced Lunch-Yes" value="Y" <c:if test="${ugApp.freeLunch=='Y'}"> checked </c:if> /> Yes
<input type="radio" id="freeLunchYes" name="freeLunch" value="Y" <c:if test="${ugApp.freeLunch=='Y'}"> checked </c:if> /> Yes
</label>
<label for="freeLunchNo">
<input type="radio" id="freeLunchNo" name="freeLunch" alt="Reduced Lunch-No" value="N" <c:if test="${ugApp.freeLunch!='Y'}"> checked </c:if> /> No </label>
<input type="radio" id="freeLunchNo" name="freeLunch" value="N" <c:if test="${ugApp.freeLunch!='Y'}"> checked </c:if> /> No </label>
</fieldset>
</li>
</ol>
......@@ -849,12 +849,12 @@
<!-- **** Include the Application Fee code **** -->
<%@ include file="/jspf/applicationFee.jspf" %>
<input type="submit" value="Submit to Admissions" name="btnSubmit" onclick="action.value = 'submit'; checkEnglish(englishComplt); setRequiredFields(document.ugPage2);"; />
<input type="submit" value="Submit to Admissions" name="btnSubmit" onclick="action.value = 'submit'; checkEnglish(englishComplt); setRequiredFields(document.ugPage2);" />
<input type="submit" value="Go Back to Previous Page" name="reset" onclick="action.value = 'saveAndGoBack';"/>
</form>
<!-- Special Form used by the popup Window to search for Institution -->
<form action="WebAppController?appId=webapp&featureId=instsearch"
<form action="WebAppController?appId=webapp&amp;featureId=instsearch"
method="post"
name="formAtBottomOfPage">
<input type="hidden" name="parentForm" value="" />
......
<!-- **** applicationfee.jspf **** -->
<script language="JavaScript">
<script type="text/Javascript">
// ************************************************************************
// (re)set required fields when previously attended UNL
// ************************************************************************
......
This diff is collapsed.
<!-- Start of highschools.jspf -->
<fieldset class="grid8 first">
<legend>High School Records</legend>
<table summary="Use this table to record information about each high school you have attended.">
<table>
<caption>High Schools Attended</caption>
<tr>
<th id="hs_find" scope="col"><label id="hs_find_label">Find High School Details</label></th>
<th id="hs_name" scope="col"><label id="hs_name_label">High School Name</label></th>
<th id="hs_city" scope="col"><label id="hs_city_label">High School City</label></th>
<th id="hs_state" scope="col" class="state"><label id="hs_state_label">High School State <abbr title="Abbreviation">Abbr</abbr>.</label></th>
<th id="hs_country" scope="col"><label id="hs_country_label">High School Country</th>
<th id="hs_grades" scope="col"><label id="hs_grades_label">Grades Attended <span class="helperText">list all grades, seperated by a comma</label></th>
<th id="hs_country" scope="col"><label id="hs_country_label">High School Country</label></th>
<th id="hs_grades" scope="col"><label id="hs_grades_label">Grades Attended <span class="helperText">list all grades, seperated by a comma</span></label></th>
<th id="hs_graduated" scope="col"><label id="hs_graduated_label">Did/will you graduate from this high school?</label></th>
</tr>
<tr>
......
......@@ -16,7 +16,7 @@
</div>
<div>
<label id="en_12" for="englishInPrg">Units taken in senior year</label>
<select aria-labelledby="course_english course_cloc hs_course_senior" name="englishInPrg" id="englishInPrg">
<select aria-labelledby="core_courses_english cc_en_cloc en_12" name="englishInPrg" id="englishInPrg">
<unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.englishInPrg}" sortField="alt" />
</select>
</div>
......@@ -183,44 +183,44 @@
<legend id="cc_lang_fr">French</legend>
<div>
<label id="fr_9" for="frenchComplt">Units taken in grades 9-11</label>
<select aria-labelledby="core_courses_science cc_sci_fr fr_9" name="frenchComplt" id="frenchComplt"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.frenchComplt}" sortField="alt" /> </select>
<select aria-labelledby="core_courses_lang cc_lang_fr fr_9" name="frenchComplt" id="frenchComplt"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.frenchComplt}" sortField="alt" /> </select>
</div>
<div>
<label id="fr_12" for="frenchInPrg">Units taken in senior year</label>
<select aria-labelledby="core_courses_science cc_sci_fr fr_9" name="frenchInPrg" id="frenchInPrg"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.frenchInPrg}" sortField="alt" /> </select>
<select aria-labelledby="core_courses_lang cc_lang_fr fr_9" name="frenchInPrg" id="frenchInPrg"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.frenchInPrg}" sortField="alt" /> </select>
</div>
</fieldset>
<fieldset class="date_range_set">
<legend id="cc_lang_gr">German</legend>
<div>
<label id="gr_9" for="germanComplt">Units taken in grades 9-11</label>
<select aria-labelledby="core_courses_science cc_sci_gr gr_9" name="germanComplt" id="germanComplt"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.germanComplt}" sortField="alt" /> </select>
<select aria-labelledby="core_courses_lang cc_lang_gr gr_9" name="germanComplt" id="germanComplt"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.germanComplt}" sortField="alt" /> </select>
</div>
<div>
<label id="gr_12" for="germanInPrg">Units taken in senior year</label>
<select aria-labelledby="core_courses_science cc_sci_gr gr_12" name="germanInPrg" id="germanInPrg"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.germanInPrg}" sortField="alt" /> </select>
<select aria-labelledby="core_courses_lang cc_lang_gr gr_12" name="germanInPrg" id="germanInPrg"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.germanInPrg}" sortField="alt" /> </select>
</div>
</fieldset>
<fieldset class="date_range_set">
<legend id="cc_lang_es">Spanish</legend>
<div>
<label id="es_9" for="spanishComplt">Units taken in grades 9-11</label>
<select aria-labelledby="core_courses_science cc_sci_es es_9" name="spanishComplt" id="spanishComplt"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.spanishComplt}" sortField="alt" /> </select>
<select aria-labelledby="core_courses_lang cc_lang_es es_9" name="spanishComplt" id="spanishComplt"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.spanishComplt}" sortField="alt" /> </select>
</div>
<div>
<label id="es_12" for="spanishInPrg">Units taken in senior year</label>
<select aria-labelledby="core_courses_science cc_sci_es es_12" name="spanishInPrg" id="spanishInPrg"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.spanishInPrg}" sortField="alt" /> </select>
<select aria-labelledby="core_courses_lang cc_lang_es es_12" name="spanishInPrg" id="spanishInPrg"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.spanishInPrg}" sortField="alt" /> </select>
</div>
</fieldset>
<fieldset class="date_range_set">
<legend id="cc_lang_ot">Other Foreign Languages</legend>
<div>
<label id="ot_9" for="othLangComplt">Units taken in grades 9-11</label>
<select aria-labelledby="core_courses_science cc_sci_ot ot_9" name="othLangComplt" id="othLangComplt"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.othLangComplt}" sortField="alt" /> </select>
<select aria-labelledby="core_courses_lang cc_lang_ot ot_9" name="othLangComplt" id="othLangComplt"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.othLangComplt}" sortField="alt" /> </select>
</div>
<div>
<label id="ot_12" for="othLangInPrg">Units taken in senior year</label>
<select aria-labelledby="core_courses_science cc_sci_ot ot_12" name="othLangInPrg" id="othLangInPrg"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.othLangInPrg}" sortField="alt" /> </select>
<select aria-labelledby="core_courses_lang cc_lang_ot ot_12" name="othLangInPrg" id="othLangInPrg"><unltags:psDbdListOption applId="ugrad" elementId="unitsTaken" selectedValue="${ugApp.othLangInPrg}" sortField="alt" /> </select>
</div>
</fieldset>
</fieldset>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment