SlideShare une entreprise Scribd logo
1  sur  10
<apex:page Controller="RFIForm" showHeader="false">
<apex:includeScript value="{!$Resource.StNorbertCollege_logo}"/>
<style>
table
{
border-color:#000000;
border-style:none;
font-weight:normal;
font-size:12px;
}
td
{
text-align:left;
vertical-align:top;
padding: 2px 0;
}
th
{
text-align:left;
background-color:#7D7D7D;
font-size:14px;
font-style:normal;
color: #FFFFFF;
vertical-align:top;
}
.small
{
color:#4F4F4F;
font-size:10px;
font-weight:normal;
font-style:italic;
}
.req
{
font-weight:normal;
color:red;
backgroundimage:url('https://cwispssb.snc.edu/wtlgifs/web_required_cascade.png');
background-repeat: no-repeat;
font-size: 90%;
padding: 5px;
display: inline-block;
}
.header
{
font-weight:bold;
font-size:12px;
color:#A24C1D;
}
label.error
{
color:red;
font-size: 10px;
line-height: 20px;
padding: 0 5px;
}
input.error
{
border: 1px dotted red;
}
.checkrow {vertical-align:bottom; overflow: hidden; display: block; padding:
0; margin:0; }
.Column { width: 300px; }
.fielderror{ border-color: red; }
.errorBox {
background-color: pink;
border: 2px solid red;
border-radius: 10px 10px 10px 10px;
color: #CC0000;
font-size: 14px;
margin: 5px;
padding: 5px;
text-align: center;
}
.errorBtn input { margin: 5px; padding: 4px 10px; }
.errorText { margin: 5px; }
.cell { width: 300px }
#filedErrorBox { display: none; }
form{
margin: 10px;
background-color: #FFFFFF;
background-repeat: no-repeat;
color: black;
font-family: Verdana,Arial Narrow,helvetica,sans-serif;
font-style: normal;
}
input, select, textarea{
font-family: Verdana,Arial Narrow,helvetica,sans-serif;
}
.requiredmsgtext {
font-family: Verdana,Arial Narrow,helvetica,sans-serif;
}
.label {
font-weight: bold;
font-family: Verdana,Arial Narrow,helvetica,sans-serif;
}
.tableHeader {
text-decoration: underline;
font-family: Verdana,Arial Narrow,helvetica,sans-serif;
font-weight: bold;
}
.headerUnderline { background-color: #A62900; width: 100%; padding: 2px; }
.contentText { margin-bottom: 20px; display: block; }
#banner { background-image:
url("https://cwispssb.snc.edu/sncgifs/knightline_banner60.png"); backgroundrepeat: no-repeat; padding: 30px; }
h1{ width: 100%; font-size: 20px; margin: 10px 0; display: block; }
</style>
<script>
function submitForm()
{
var errorFound = false;
$('#filedErrorBox').hide();
$('.inputRequired').each(function() {
if($(this).val()=='' || $(this).val()==null)
{
$(this).addClass("fielderror");
errorFound=true;
$('#filedErrorBox').show();
}
else
{
});

$(this).removeClass("fielderror");

}

$('.inputRequiredIfUS').each(function() {
if($('select[id$=mailingCountry]').val()=='US' && ($(this).val()==''
|| $(this).val()==null))
{
$(this).addClass("fielderror");
errorFound=true;
$('#filedErrorBox').show();
}
else
{
$(this).removeClass("fielderror");
}
});
$('.validDate').each(function() {
if(validateDate($(this).val())==false)
{
$(this).addClass("fielderror");
errorFound=true;
$('#filedErrorBox').show();
}
});
$('.inputRequired input.fielderror, .inputRequired
select.fielderror').each(function(){$
('#'+this.id.replace('_lkid','').replace(/:/g,':')).addClass('fielderror')});
if(errorFound==false){ save(); }
else{ alert('Please Fix the Highlighted Errors'); }
}
function validateDate(testdate) {
var date_regex = /^(0[1-9]|1[0-2])/(0[1-9]|1d|2d|3[01])/(19|20)d{2}$/ ;
return date_regex.test(testdate);
}
</script>
<apex:pageMessages ></apex:pageMessages>
<apex:form Id="form">
<div id="banner"></div>
<h1>Prospect Inquiry Request</h1>
<div class="headerUnderline"></div>
<span class="contentText">Please enter your information in the fields below.
When completed click on the <b>Submit</b> button at the bottom of page. Please
allow 3 to 5 business days for processing your request for information.</span>
<span class="req"></span><apex:outputLabel styleClass="requiredmsgtext"> indicates a required field.</apex:outputLabel>
<apex:actionFunction action="{!save}" name="save" />
<apex:panelGrid columns="2" columnClasses="Column">
<apex:outputText styleclass="tableHeader" value="Name and Personal Data"
/><apex:outputText styleclass="tableHeader" value="" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Student
Type"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:selectList value="{!studentType}" multiselect="false" size="1"
styleClass="inputRequired">
<apex:selectOptions value="{!studentTypeOptions}"/>
<apex:actionSupport event="onchange" rerender="studType"/>
</apex:selectList>
<apex:panelGroup >
<apex:outputText styleclass="label" value="Domestic or
International"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:selectList value="{!admitType}" multiselect="false" size="1"
styleClass="inputRequired">
<apex:selectOptions value="{!admitTypeOptions}"/>
<apex:actionSupport event="onchange" rerender="InternationalOnly"/>
</apex:selectList>
<apex:panelGroup >
<apex:outputText styleclass="label" value="Student Legal First
Name"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:inputText value="{!con.firstName}" id="firstName"
styleClass="inputRequired" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Student Middle Name"/>
</apex:panelGroup>
<apex:inputText value="{!con.Middle_Name__c}" id="middleName"/>
<apex:panelGroup >
<apex:outputText styleclass="label" value="Student Last
Name"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:inputText value="{!con.lastName}" id="lastName"
styleClass="inputRequired" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Suffix"/>
</apex:panelGroup>
<apex:inputText value="{!con.Suffix__c}" id="Suffix"/>
<apex:panelGroup >
<apex:outputText styleclass="label" value="Nickname"/>
</apex:panelGroup>
<apex:inputText value="{!con.Nickname__c}" id="Nickname"/>
<apex:panelGroup >
<apex:outputText styleclass="label" value="Date of Birth
(MM/DD/YYYY)"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:inputText value="{!con.BirthDate}" id="BirthDate"
styleClass="inputRequired validDate" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Gender"/><apex:outputText
styleclass="req" value=""/>
</apex:panelGroup>
<apex:inputField value="{!con.Gender__c}" styleClass="inputRequired"/>
<apex:panelGroup >
<apex:outputText styleclass="label" value="Home Phone"/>
</apex:panelGroup>
<apex:inputField value="{!con.Phone}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="International Access
Code"/>

</apex:panelGroup>
<apex:inputText value="{!intAccessCode}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Cell Phone"/>
</apex:panelGroup>
<apex:inputField value="{!con.MobilePhone}" />

<apex:panelGroup >
<apex:outputText styleclass="label" value="Email
Address"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:inputField value="{!con.Email}" styleClass="inputRequired"/>
<apex:panelGroup >
<apex:outputText styleclass="label"
value="Citizenship"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:inputField value="{!con.Citizenship__c}"
styleClass="inputRequired"/>
<apex:outputText styleclass="tableHeader" value="Home Address"
/><apex:outputText styleclass="tableHeader" value="" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Street
Address"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:inputField value="{!con.MailingStreet}"
styleClass="inputRequired"/>
<apex:panelGroup >
<apex:outputText styleclass="label" value="City"/><apex:outputText
styleclass="req" value=""/>
</apex:panelGroup>
<apex:inputText value="{!con.MailingCity}" styleClass="inputRequired"/>
<apex:panelGroup >
<apex:outputText styleclass="label"
value="State/Province"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:selectList value="{!con.MailingState}" multiselect="false"
size="1" styleClass="inputRequired">
<apex:selectOptions value="{!StateOptions}"/>
</apex:selectList>
<apex:panelGroup >
<apex:outputText styleclass="label"
value="Country"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:selectList id="mailingCountry" value="{!con.MailingCountry}"
multiselect="false" size="1" styleClass="inputRequired">
<apex:selectOptions value="{!CountryOptions}"/>
<apex:actionsupport event="onchange" rerender="zipCodeLable,
countyLable" />
</apex:selectList>
<apex:panelGroup id="zipCodeLable">
<apex:outputText styleclass="label" value="Zip
Code"/><apex:outputText styleclass="req" value="" rendered="{!
con.MailingCountry=='US'}" />
</apex:panelGroup>
<apex:inputField value="{!con.MailingPostalCode}"
styleClass="inputRequiredIfUS"/>
<apex:panelGroup id="countyLable">
<apex:outputText styleclass="label" value="County"/><apex:outputText
styleclass="req" value="" rendered="{!con.MailingCountry=='US'}" />
</apex:panelGroup>
<apex:inputField value="{!con.Current_County_Code__c}"
styleClass="inputRequiredIfUS"/>
<apex:outputText styleclass="tableHeader" value="Planning to Apply
for" /><apex:outputText styleclass="tableHeader" value="" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Desired entry
Term"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:selectList value="{!interest.Desired_Entry_Term__c}"
multiselect="false" size="1" styleClass="inputRequired" >
<apex:selectOptions value="{!desiredEntryTermOptions}"/>
</apex:selectList>
<apex:panelGroup >
<apex:outputText styleclass="label" value="Desired Major"/>
</apex:panelGroup>
<apex:inputField value="{!interest.Desired_Major__c}" />
<apex:outputText styleclass="tableHeader" value="Interests"
/><apex:outputText styleclass="tableHeader" value="" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Athletic Interests"/>
<br/>
<div class="small">Hold ctrl to select multiple<br/>Specific sport
refers to Varsity level at SNC</div>
</apex:panelGroup>
<apex:selectList value="{!interest.Athletic_Interests__c}"
multiselect="true" size="5" >
<apex:selectOptions value="{!athleticInterestsOptions}"/>
</apex:selectList>
<apex:panelGroup >
<apex:outputText styleclass="label" value="Other Interests"/>
<br/>
<div class="small">Hold ctrl to select multiple</div>
</apex:panelGroup>
<apex:selectList value="{!interest.Other_Interests__c}"
multiselect="true" size="5" >
<apex:selectOptions value="{!otherInterestsOptions}"/>
</apex:selectList>
</apex:panelGrid>
<apex:outputPanel id="studType">
<apex:outputText styleclass="tableHeader" value="High School
Information" rendered="{!studentType=='Freshman'}" />
<apex:outputText styleclass="tableHeader" value="" rendered="{!
studentType=='Freshman'}" />
<apex:panelGrid columns="2" columnClasses="Column" rendered="{!
studentType=='Freshman'}">
<apex:panelGroup >
<apex:outputText styleclass="label" value="Home Schooled"/>
</apex:panelGroup>
<apex:inputField value="{!interest.Home_Schooled__c}" >
<apex:actionSupport event="onchange" rerender="highSchoolPanel"/>
</apex:inputField>
<apex:outputPanel id="highSchoolPanel">
<apex:panelGrid columns="2" rendered="{!
interest.Home_Schooled__c==false}">
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School Country"/>
</apex:panelGroup>
<apex:inputField value="{!interest.High_School_Country__c}">
<apex:actionSupport event="onchange"
rerender="highSchoolNamePanel"/>
</apex:inputField>
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School
State/Province"/>
</apex:panelGroup>
<apex:inputField value="{!interest.High_School_State__c}">
<apex:actionSupport event="onchange"
rerender="highSchoolNamePanel"/>
</apex:inputField>
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School
Name"/><apex:outputText styleclass="req" value=""/>
</apex:panelGroup>
<apex:outputPanel id="highSchoolNamePanel">
<apex:selectList value="{!con.High_School__c}" multiselect="false"
size="1" styleClass="inputRequired">
<apex:selectOptions value="{!HighSchoolOptions}"/>
<apex:actionsupport event="onchange"
rerender="highSchoolOtherLabel, highSchoolOtherField" />
</apex:selectList>
</apex:outputPanel>
<apex:outputPanel id="highSchoolOtherLabel"><apex:panelGroup
rendered="{!con.High_School__c==otherHighschoolId}">
<apex:outputText styleclass="label" value="High School Other"/>
</apex:panelGroup></apex:outputPanel>
<apex:outputPanel id="highSchoolOtherField"><apex:inputField value="{!
con.High_School_Other__c}" rendered="{!
con.High_School__c==otherHighschoolId}" /></apex:outputPanel>
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School Address"/>
</apex:panelGroup>
<apex:inputField value="{!interest.High_School_Address__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School City"/>
</apex:panelGroup>
<apex:inputField value="{!interest.High_School_City__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School Zip Code"/>
</apex:panelGroup>
<apex:inputField value="{!interest.High_School_Zip_Code__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School GPA"/>
</apex:panelGroup>
<apex:inputField value="{!interest.High_School_GPA__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="ACT score"/>
</apex:panelGroup>
<apex:inputField value="{!interest.ACT_Score__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="HS Graduation Date"
/><apex:outputText styleclass="req" value=""/>
<br/>
<div class="small">Approximate date graduating from High
School</div>
</apex:panelGroup>
<apex:inputField value="{!interest.High_School_Grad_Date__c}"
styleClass="inputRequired" />
</apex:panelGrid>
</apex:outputPanel>
</apex:panelGrid>
<apex:outputText styleclass="tableHeader" value="Prior College
Information" rendered="{!studentType=='Transfer'}" />
<apex:outputText styleclass="tableHeader" value="" rendered="{!
studentType=='Transfer'}" />
<apex:panelGrid columns="2" columnClasses="Column" rendered="{!
studentType=='Transfer'}">
<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College Code"/>
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_Code__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College Name"/>
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_Name__c}" />

Address"/>

<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_Address__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College City"/>
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_City__c}" />

<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College
State/Province"/>
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_State_Province__c}"
/>

Code"/>

<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College Zip
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_Zip_Code__c}" />

Country"/>

<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_Country__c}" />

<apex:panelGroup >
<apex:outputText styleclass="label" value="Date Attended From"/>
</apex:panelGroup>
<apex:inputField value="{!
interest.Prior_College_Date_Attended_From__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Date Attended To"/>
</apex:panelGroup>
<apex:inputField value="{!
interest.Prior_College_Date_Attended_To__c}" />

Degree"/>

<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_Degree__c}" />

<apex:panelGroup >
<apex:outputText styleclass="label" value="Prior College GPA"/>
</apex:panelGroup>
<apex:inputField value="{!interest.Prior_College_GPA__c}" />
</apex:panelGrid>
</apex:outputPanel>
<apex:outputPanel id="InternationalOnly">
<apex:outputText styleclass="tableHeader" value="International
Information" rendered="{!admitType=='International'}" /><apex:outputText
styleclass="tableHeader" value="" rendered="{!admitType=='International'}" />
<apex:panelGrid columns="2" columnClasses="Column" rendered="{!
admitType=='International'}">
<apex:panelGroup >
<apex:outputText styleclass="label" value="Native Language"/>
</apex:panelGroup>
<apex:inputField value="{!con.First_Language__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Nation of
Citizenship"/>
</apex:panelGroup>
<apex:inputField value="{!con.Citizenship_Country__c}" />
<apex:panelGroup >
<apex:outputText styleclass="label" value="Nation of Birth"/>
</apex:panelGroup>
<apex:inputField value="{!con.Birth_Country__c}" />
</apex:panelGrid>
</apex:outputPanel>
<div class="bottombuttons">
<apex:commandbutton value="Submit" onclick="submitForm(); return false;"
/>

</div>

</apex:form>
</apex:page>
<apex:outputPanel id="studType">
<apex:outputText styleclass="tableHeader" value="High School Information"
rendered="{!studentType=='Freshman'}" />
<apex:outputText styleclass="tableHeader" value="" rendered="{!
studentType=='Freshman'}" />
<!-- two column table specified -->
<apex:panelGrid columns="2" columnClasses="Column" rendered="{!
studentType=='Freshman'}">
<!-- row 1 cell 1 -->
<apex:panelGroup >
<apex:outputText styleclass="label" value="Home Schooled"/>
</apex:panelGroup>
<!-- row 1 cell 2 -->
<apex:inputField value="{!interest.Home_Schooled__c}" >
<apex:actionSupport event="onchange" rerender="highSchoolPanel"/>
</apex:inputField>
<!-- row 2 cell 1 -->
<apex:outputPanel id="highSchoolPanel">
<!-- nested table within the first cell in the second row -->
<apex:panelGrid columns="2" rendered="{!
interest.Home_Schooled__c==false}">
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School Country"/>
</apex:panelGroup>
<apex:inputField value="{!interest.High_School_Country__c}">
<apex:actionSupport event="onchange"
rerender="highSchoolNamePanel"/>
</apex:inputField>
<apex:panelGroup >
<apex:outputText styleclass="label" value="High School
State/Province"/>
</apex:panelGroup>
[snip]
</apex:panelGrid>
</apex:outputPanel>
</apex:panelGrid>

Contenu connexe

En vedette

Summer music academy sinaia 2016 students_general_rules
Summer music academy sinaia 2016 students_general_rulesSummer music academy sinaia 2016 students_general_rules
Summer music academy sinaia 2016 students_general_rulesShuvo Hasan
 
Rfi form visualforcepage
Rfi form visualforcepageRfi form visualforcepage
Rfi form visualforcepageraju10811f0011
 
Five year global supply and demand projections of crops
Five year global supply and demand projections of cropsFive year global supply and demand projections of crops
Five year global supply and demand projections of cropsShuvo Hasan
 
Venture Cup 2016 - презентация команды 2го места
Venture Cup 2016 - презентация команды 2го места Venture Cup 2016 - презентация команды 2го места
Venture Cup 2016 - презентация команды 2го места Alexander Gubarev
 
Symptomatology of mental illness
Symptomatology of mental illnessSymptomatology of mental illness
Symptomatology of mental illnessNithiy Uday
 
Objective Structured Clinical Examination (OSCE)
Objective Structured Clinical Examination (OSCE)Objective Structured Clinical Examination (OSCE)
Objective Structured Clinical Examination (OSCE)Nithiy Uday
 
Cornetto's love stories web-promotion strategy
Cornetto's love stories web-promotion strategy Cornetto's love stories web-promotion strategy
Cornetto's love stories web-promotion strategy Alexander Gubarev
 
Antabuse therapy
Antabuse therapyAntabuse therapy
Antabuse therapyNithiy Uday
 
Occupational therapy
Occupational therapyOccupational therapy
Occupational therapyNithiy Uday
 
Philippe perrennoud construir competencias desde la escuela
Philippe perrennoud construir competencias desde la escuelaPhilippe perrennoud construir competencias desde la escuela
Philippe perrennoud construir competencias desde la escuelaMa Azucena Montañez González
 
Nielsen Case Competition 2015 - team SpasiboEva winners
Nielsen Case Competition 2015 - team SpasiboEva winnersNielsen Case Competition 2015 - team SpasiboEva winners
Nielsen Case Competition 2015 - team SpasiboEva winnersAlexander Gubarev
 

En vedette (16)

Hesapnocom 1.3
Hesapnocom 1.3Hesapnocom 1.3
Hesapnocom 1.3
 
Summer music academy sinaia 2016 students_general_rules
Summer music academy sinaia 2016 students_general_rulesSummer music academy sinaia 2016 students_general_rules
Summer music academy sinaia 2016 students_general_rules
 
Rfi form visualforcepage
Rfi form visualforcepageRfi form visualforcepage
Rfi form visualforcepage
 
Diapositivas educar por competencias
Diapositivas educar por competenciasDiapositivas educar por competencias
Diapositivas educar por competencias
 
Five year global supply and demand projections of crops
Five year global supply and demand projections of cropsFive year global supply and demand projections of crops
Five year global supply and demand projections of crops
 
DUBAI
DUBAIDUBAI
DUBAI
 
Rieeb 2011
Rieeb 2011Rieeb 2011
Rieeb 2011
 
Venture Cup 2016 - презентация команды 2го места
Venture Cup 2016 - презентация команды 2го места Venture Cup 2016 - презентация команды 2го места
Venture Cup 2016 - презентация команды 2го места
 
Symptomatology of mental illness
Symptomatology of mental illnessSymptomatology of mental illness
Symptomatology of mental illness
 
Objective Structured Clinical Examination (OSCE)
Objective Structured Clinical Examination (OSCE)Objective Structured Clinical Examination (OSCE)
Objective Structured Clinical Examination (OSCE)
 
PSYCHODRAMA
PSYCHODRAMAPSYCHODRAMA
PSYCHODRAMA
 
Cornetto's love stories web-promotion strategy
Cornetto's love stories web-promotion strategy Cornetto's love stories web-promotion strategy
Cornetto's love stories web-promotion strategy
 
Antabuse therapy
Antabuse therapyAntabuse therapy
Antabuse therapy
 
Occupational therapy
Occupational therapyOccupational therapy
Occupational therapy
 
Philippe perrennoud construir competencias desde la escuela
Philippe perrennoud construir competencias desde la escuelaPhilippe perrennoud construir competencias desde la escuela
Philippe perrennoud construir competencias desde la escuela
 
Nielsen Case Competition 2015 - team SpasiboEva winners
Nielsen Case Competition 2015 - team SpasiboEva winnersNielsen Case Competition 2015 - team SpasiboEva winners
Nielsen Case Competition 2015 - team SpasiboEva winners
 

Similaire à Vf page

Simple Blue Blog Template XML 的副本
Simple Blue Blog Template XML 的副本Simple Blue Blog Template XML 的副本
Simple Blue Blog Template XML 的副本a5494535
 
Firefox OSアプリ開発ハンズオン(Hello World編)
Firefox OSアプリ開発ハンズオン(Hello World編)Firefox OSアプリ開発ハンズオン(Hello World編)
Firefox OSアプリ開発ハンズオン(Hello World編)Noritada Shimizu
 
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrBeyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrJens-Christian Fischer
 
20150829 firefox-os-handson
20150829 firefox-os-handson20150829 firefox-os-handson
20150829 firefox-os-handsonNoritada Shimizu
 
Posts ‹ teslaecoenergy — word press php
Posts ‹ teslaecoenergy — word press phpPosts ‹ teslaecoenergy — word press php
Posts ‹ teslaecoenergy — word press phpMiroslav Miskovic
 
Posts ‹ teslaecoenergy — word press php
Posts ‹ teslaecoenergy — word press phpPosts ‹ teslaecoenergy — word press php
Posts ‹ teslaecoenergy — word press phpMiroslav Miskovic
 
Html structure
Html structureHtml structure
Html structureakkias
 
Confluence - Improving Space Navigation. London AUG October 2013
Confluence - Improving Space Navigation. London AUG October 2013Confluence - Improving Space Navigation. London AUG October 2013
Confluence - Improving Space Navigation. London AUG October 2013Charles_Hall
 
Theme futura suicida não use como base e nem copie
Theme futura suicida não use como base e nem copieTheme futura suicida não use como base e nem copie
Theme futura suicida não use como base e nem copieRafaela Souza
 
Theme futura suicida não use como base e nem copie
Theme futura suicida não use como base e nem copieTheme futura suicida não use como base e nem copie
Theme futura suicida não use como base e nem copieRafaela Souza
 
Ôn tập KTTMDT
Ôn tập KTTMDTÔn tập KTTMDT
Ôn tập KTTMDTmrcoffee282
 

Similaire à Vf page (20)

Simple Blue Blog Template XML 的副本
Simple Blue Blog Template XML 的副本Simple Blue Blog Template XML 的副本
Simple Blue Blog Template XML 的副本
 
Tmx9
Tmx9Tmx9
Tmx9
 
Documento
DocumentoDocumento
Documento
 
Coding part
Coding partCoding part
Coding part
 
Document
DocumentDocument
Document
 
Firefox OSアプリ開発ハンズオン(Hello World編)
Firefox OSアプリ開発ハンズオン(Hello World編)Firefox OSアプリ開発ハンズオン(Hello World編)
Firefox OSアプリ開発ハンズオン(Hello World編)
 
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrBeyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
 
20150829 firefox-os-handson
20150829 firefox-os-handson20150829 firefox-os-handson
20150829 firefox-os-handson
 
Posts ‹ teslaecoenergy — word press php
Posts ‹ teslaecoenergy — word press phpPosts ‹ teslaecoenergy — word press php
Posts ‹ teslaecoenergy — word press php
 
Posts ‹ teslaecoenergy — word press php
Posts ‹ teslaecoenergy — word press phpPosts ‹ teslaecoenergy — word press php
Posts ‹ teslaecoenergy — word press php
 
Html structure
Html structureHtml structure
Html structure
 
Confluence - Improving Space Navigation. London AUG October 2013
Confluence - Improving Space Navigation. London AUG October 2013Confluence - Improving Space Navigation. London AUG October 2013
Confluence - Improving Space Navigation. London AUG October 2013
 
Theme futura suicida não use como base e nem copie
Theme futura suicida não use como base e nem copieTheme futura suicida não use como base e nem copie
Theme futura suicida não use como base e nem copie
 
Theme futura suicida não use como base e nem copie
Theme futura suicida não use como base e nem copieTheme futura suicida não use como base e nem copie
Theme futura suicida não use como base e nem copie
 
Sencha Touch
Sencha TouchSencha Touch
Sencha Touch
 
Ôn tập KTTMDT
Ôn tập KTTMDTÔn tập KTTMDT
Ôn tập KTTMDT
 
Ocul emergency-presentation
Ocul emergency-presentationOcul emergency-presentation
Ocul emergency-presentation
 
Ocul emergency-presentation
Ocul emergency-presentationOcul emergency-presentation
Ocul emergency-presentation
 
Theme 23
Theme 23Theme 23
Theme 23
 
Theme04
Theme04Theme04
Theme04
 

Dernier

IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyUXDXConf
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...CzechDreamin
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastUXDXConf
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka DoktorováCzechDreamin
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty SecureFemke de Vroome
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreelreely ones
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 

Dernier (20)

IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 

Vf page

  • 1. <apex:page Controller="RFIForm" showHeader="false"> <apex:includeScript value="{!$Resource.StNorbertCollege_logo}"/> <style> table { border-color:#000000; border-style:none; font-weight:normal; font-size:12px; } td { text-align:left; vertical-align:top; padding: 2px 0; } th { text-align:left; background-color:#7D7D7D; font-size:14px; font-style:normal; color: #FFFFFF; vertical-align:top; } .small { color:#4F4F4F; font-size:10px; font-weight:normal; font-style:italic; } .req { font-weight:normal; color:red; backgroundimage:url('https://cwispssb.snc.edu/wtlgifs/web_required_cascade.png'); background-repeat: no-repeat; font-size: 90%; padding: 5px; display: inline-block; } .header { font-weight:bold; font-size:12px; color:#A24C1D; } label.error { color:red; font-size: 10px; line-height: 20px; padding: 0 5px; } input.error { border: 1px dotted red; }
  • 2. .checkrow {vertical-align:bottom; overflow: hidden; display: block; padding: 0; margin:0; } .Column { width: 300px; } .fielderror{ border-color: red; } .errorBox { background-color: pink; border: 2px solid red; border-radius: 10px 10px 10px 10px; color: #CC0000; font-size: 14px; margin: 5px; padding: 5px; text-align: center; } .errorBtn input { margin: 5px; padding: 4px 10px; } .errorText { margin: 5px; } .cell { width: 300px } #filedErrorBox { display: none; } form{ margin: 10px; background-color: #FFFFFF; background-repeat: no-repeat; color: black; font-family: Verdana,Arial Narrow,helvetica,sans-serif; font-style: normal; } input, select, textarea{ font-family: Verdana,Arial Narrow,helvetica,sans-serif; } .requiredmsgtext { font-family: Verdana,Arial Narrow,helvetica,sans-serif; } .label { font-weight: bold; font-family: Verdana,Arial Narrow,helvetica,sans-serif; } .tableHeader { text-decoration: underline; font-family: Verdana,Arial Narrow,helvetica,sans-serif; font-weight: bold; } .headerUnderline { background-color: #A62900; width: 100%; padding: 2px; } .contentText { margin-bottom: 20px; display: block; } #banner { background-image: url("https://cwispssb.snc.edu/sncgifs/knightline_banner60.png"); backgroundrepeat: no-repeat; padding: 30px; } h1{ width: 100%; font-size: 20px; margin: 10px 0; display: block; } </style> <script> function submitForm() { var errorFound = false; $('#filedErrorBox').hide(); $('.inputRequired').each(function() { if($(this).val()=='' || $(this).val()==null) { $(this).addClass("fielderror"); errorFound=true;
  • 3. $('#filedErrorBox').show(); } else { }); $(this).removeClass("fielderror"); } $('.inputRequiredIfUS').each(function() { if($('select[id$=mailingCountry]').val()=='US' && ($(this).val()=='' || $(this).val()==null)) { $(this).addClass("fielderror"); errorFound=true; $('#filedErrorBox').show(); } else { $(this).removeClass("fielderror"); } }); $('.validDate').each(function() { if(validateDate($(this).val())==false) { $(this).addClass("fielderror"); errorFound=true; $('#filedErrorBox').show(); } }); $('.inputRequired input.fielderror, .inputRequired select.fielderror').each(function(){$ ('#'+this.id.replace('_lkid','').replace(/:/g,':')).addClass('fielderror')}); if(errorFound==false){ save(); } else{ alert('Please Fix the Highlighted Errors'); } } function validateDate(testdate) { var date_regex = /^(0[1-9]|1[0-2])/(0[1-9]|1d|2d|3[01])/(19|20)d{2}$/ ; return date_regex.test(testdate); } </script> <apex:pageMessages ></apex:pageMessages> <apex:form Id="form"> <div id="banner"></div> <h1>Prospect Inquiry Request</h1> <div class="headerUnderline"></div> <span class="contentText">Please enter your information in the fields below. When completed click on the <b>Submit</b> button at the bottom of page. Please allow 3 to 5 business days for processing your request for information.</span> <span class="req"></span><apex:outputLabel styleClass="requiredmsgtext"> indicates a required field.</apex:outputLabel> <apex:actionFunction action="{!save}" name="save" /> <apex:panelGrid columns="2" columnClasses="Column"> <apex:outputText styleclass="tableHeader" value="Name and Personal Data" /><apex:outputText styleclass="tableHeader" value="" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Student Type"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup>
  • 4. <apex:selectList value="{!studentType}" multiselect="false" size="1" styleClass="inputRequired"> <apex:selectOptions value="{!studentTypeOptions}"/> <apex:actionSupport event="onchange" rerender="studType"/> </apex:selectList> <apex:panelGroup > <apex:outputText styleclass="label" value="Domestic or International"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:selectList value="{!admitType}" multiselect="false" size="1" styleClass="inputRequired"> <apex:selectOptions value="{!admitTypeOptions}"/> <apex:actionSupport event="onchange" rerender="InternationalOnly"/> </apex:selectList> <apex:panelGroup > <apex:outputText styleclass="label" value="Student Legal First Name"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:inputText value="{!con.firstName}" id="firstName" styleClass="inputRequired" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Student Middle Name"/> </apex:panelGroup> <apex:inputText value="{!con.Middle_Name__c}" id="middleName"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Student Last Name"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:inputText value="{!con.lastName}" id="lastName" styleClass="inputRequired" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Suffix"/> </apex:panelGroup> <apex:inputText value="{!con.Suffix__c}" id="Suffix"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Nickname"/> </apex:panelGroup> <apex:inputText value="{!con.Nickname__c}" id="Nickname"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Date of Birth (MM/DD/YYYY)"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:inputText value="{!con.BirthDate}" id="BirthDate" styleClass="inputRequired validDate" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Gender"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:inputField value="{!con.Gender__c}" styleClass="inputRequired"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Home Phone"/> </apex:panelGroup> <apex:inputField value="{!con.Phone}" />
  • 5. <apex:panelGroup > <apex:outputText styleclass="label" value="International Access Code"/> </apex:panelGroup> <apex:inputText value="{!intAccessCode}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Cell Phone"/> </apex:panelGroup> <apex:inputField value="{!con.MobilePhone}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Email Address"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:inputField value="{!con.Email}" styleClass="inputRequired"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Citizenship"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:inputField value="{!con.Citizenship__c}" styleClass="inputRequired"/> <apex:outputText styleclass="tableHeader" value="Home Address" /><apex:outputText styleclass="tableHeader" value="" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Street Address"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:inputField value="{!con.MailingStreet}" styleClass="inputRequired"/> <apex:panelGroup > <apex:outputText styleclass="label" value="City"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:inputText value="{!con.MailingCity}" styleClass="inputRequired"/> <apex:panelGroup > <apex:outputText styleclass="label" value="State/Province"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:selectList value="{!con.MailingState}" multiselect="false" size="1" styleClass="inputRequired"> <apex:selectOptions value="{!StateOptions}"/> </apex:selectList> <apex:panelGroup > <apex:outputText styleclass="label" value="Country"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:selectList id="mailingCountry" value="{!con.MailingCountry}" multiselect="false" size="1" styleClass="inputRequired"> <apex:selectOptions value="{!CountryOptions}"/> <apex:actionsupport event="onchange" rerender="zipCodeLable, countyLable" /> </apex:selectList> <apex:panelGroup id="zipCodeLable"> <apex:outputText styleclass="label" value="Zip
  • 6. Code"/><apex:outputText styleclass="req" value="" rendered="{! con.MailingCountry=='US'}" /> </apex:panelGroup> <apex:inputField value="{!con.MailingPostalCode}" styleClass="inputRequiredIfUS"/> <apex:panelGroup id="countyLable"> <apex:outputText styleclass="label" value="County"/><apex:outputText styleclass="req" value="" rendered="{!con.MailingCountry=='US'}" /> </apex:panelGroup> <apex:inputField value="{!con.Current_County_Code__c}" styleClass="inputRequiredIfUS"/> <apex:outputText styleclass="tableHeader" value="Planning to Apply for" /><apex:outputText styleclass="tableHeader" value="" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Desired entry Term"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:selectList value="{!interest.Desired_Entry_Term__c}" multiselect="false" size="1" styleClass="inputRequired" > <apex:selectOptions value="{!desiredEntryTermOptions}"/> </apex:selectList> <apex:panelGroup > <apex:outputText styleclass="label" value="Desired Major"/> </apex:panelGroup> <apex:inputField value="{!interest.Desired_Major__c}" /> <apex:outputText styleclass="tableHeader" value="Interests" /><apex:outputText styleclass="tableHeader" value="" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Athletic Interests"/> <br/> <div class="small">Hold ctrl to select multiple<br/>Specific sport refers to Varsity level at SNC</div> </apex:panelGroup> <apex:selectList value="{!interest.Athletic_Interests__c}" multiselect="true" size="5" > <apex:selectOptions value="{!athleticInterestsOptions}"/> </apex:selectList> <apex:panelGroup > <apex:outputText styleclass="label" value="Other Interests"/> <br/> <div class="small">Hold ctrl to select multiple</div> </apex:panelGroup> <apex:selectList value="{!interest.Other_Interests__c}" multiselect="true" size="5" > <apex:selectOptions value="{!otherInterestsOptions}"/> </apex:selectList> </apex:panelGrid> <apex:outputPanel id="studType"> <apex:outputText styleclass="tableHeader" value="High School Information" rendered="{!studentType=='Freshman'}" /> <apex:outputText styleclass="tableHeader" value="" rendered="{! studentType=='Freshman'}" />
  • 7. <apex:panelGrid columns="2" columnClasses="Column" rendered="{! studentType=='Freshman'}"> <apex:panelGroup > <apex:outputText styleclass="label" value="Home Schooled"/> </apex:panelGroup> <apex:inputField value="{!interest.Home_Schooled__c}" > <apex:actionSupport event="onchange" rerender="highSchoolPanel"/> </apex:inputField> <apex:outputPanel id="highSchoolPanel"> <apex:panelGrid columns="2" rendered="{! interest.Home_Schooled__c==false}"> <apex:panelGroup > <apex:outputText styleclass="label" value="High School Country"/> </apex:panelGroup> <apex:inputField value="{!interest.High_School_Country__c}"> <apex:actionSupport event="onchange" rerender="highSchoolNamePanel"/> </apex:inputField> <apex:panelGroup > <apex:outputText styleclass="label" value="High School State/Province"/> </apex:panelGroup> <apex:inputField value="{!interest.High_School_State__c}"> <apex:actionSupport event="onchange" rerender="highSchoolNamePanel"/> </apex:inputField> <apex:panelGroup > <apex:outputText styleclass="label" value="High School Name"/><apex:outputText styleclass="req" value=""/> </apex:panelGroup> <apex:outputPanel id="highSchoolNamePanel"> <apex:selectList value="{!con.High_School__c}" multiselect="false" size="1" styleClass="inputRequired"> <apex:selectOptions value="{!HighSchoolOptions}"/> <apex:actionsupport event="onchange" rerender="highSchoolOtherLabel, highSchoolOtherField" /> </apex:selectList> </apex:outputPanel> <apex:outputPanel id="highSchoolOtherLabel"><apex:panelGroup rendered="{!con.High_School__c==otherHighschoolId}"> <apex:outputText styleclass="label" value="High School Other"/> </apex:panelGroup></apex:outputPanel> <apex:outputPanel id="highSchoolOtherField"><apex:inputField value="{! con.High_School_Other__c}" rendered="{! con.High_School__c==otherHighschoolId}" /></apex:outputPanel> <apex:panelGroup > <apex:outputText styleclass="label" value="High School Address"/> </apex:panelGroup> <apex:inputField value="{!interest.High_School_Address__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="High School City"/> </apex:panelGroup> <apex:inputField value="{!interest.High_School_City__c}" />
  • 8. <apex:panelGroup > <apex:outputText styleclass="label" value="High School Zip Code"/> </apex:panelGroup> <apex:inputField value="{!interest.High_School_Zip_Code__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="High School GPA"/> </apex:panelGroup> <apex:inputField value="{!interest.High_School_GPA__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="ACT score"/> </apex:panelGroup> <apex:inputField value="{!interest.ACT_Score__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="HS Graduation Date" /><apex:outputText styleclass="req" value=""/> <br/> <div class="small">Approximate date graduating from High School</div> </apex:panelGroup> <apex:inputField value="{!interest.High_School_Grad_Date__c}" styleClass="inputRequired" /> </apex:panelGrid> </apex:outputPanel> </apex:panelGrid> <apex:outputText styleclass="tableHeader" value="Prior College Information" rendered="{!studentType=='Transfer'}" /> <apex:outputText styleclass="tableHeader" value="" rendered="{! studentType=='Transfer'}" /> <apex:panelGrid columns="2" columnClasses="Column" rendered="{! studentType=='Transfer'}"> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College Code"/> </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_Code__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College Name"/> </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_Name__c}" /> Address"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_Address__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College City"/> </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_City__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College State/Province"/> </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_State_Province__c}"
  • 9. /> Code"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College Zip </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_Zip_Code__c}" /> Country"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_Country__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Date Attended From"/> </apex:panelGroup> <apex:inputField value="{! interest.Prior_College_Date_Attended_From__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Date Attended To"/> </apex:panelGroup> <apex:inputField value="{! interest.Prior_College_Date_Attended_To__c}" /> Degree"/> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_Degree__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Prior College GPA"/> </apex:panelGroup> <apex:inputField value="{!interest.Prior_College_GPA__c}" /> </apex:panelGrid> </apex:outputPanel> <apex:outputPanel id="InternationalOnly"> <apex:outputText styleclass="tableHeader" value="International Information" rendered="{!admitType=='International'}" /><apex:outputText styleclass="tableHeader" value="" rendered="{!admitType=='International'}" /> <apex:panelGrid columns="2" columnClasses="Column" rendered="{! admitType=='International'}"> <apex:panelGroup > <apex:outputText styleclass="label" value="Native Language"/> </apex:panelGroup> <apex:inputField value="{!con.First_Language__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Nation of Citizenship"/> </apex:panelGroup> <apex:inputField value="{!con.Citizenship_Country__c}" /> <apex:panelGroup > <apex:outputText styleclass="label" value="Nation of Birth"/> </apex:panelGroup> <apex:inputField value="{!con.Birth_Country__c}" /> </apex:panelGrid> </apex:outputPanel>
  • 10. <div class="bottombuttons"> <apex:commandbutton value="Submit" onclick="submitForm(); return false;" /> </div> </apex:form> </apex:page> <apex:outputPanel id="studType"> <apex:outputText styleclass="tableHeader" value="High School Information" rendered="{!studentType=='Freshman'}" /> <apex:outputText styleclass="tableHeader" value="" rendered="{! studentType=='Freshman'}" /> <!-- two column table specified --> <apex:panelGrid columns="2" columnClasses="Column" rendered="{! studentType=='Freshman'}"> <!-- row 1 cell 1 --> <apex:panelGroup > <apex:outputText styleclass="label" value="Home Schooled"/> </apex:panelGroup> <!-- row 1 cell 2 --> <apex:inputField value="{!interest.Home_Schooled__c}" > <apex:actionSupport event="onchange" rerender="highSchoolPanel"/> </apex:inputField> <!-- row 2 cell 1 --> <apex:outputPanel id="highSchoolPanel"> <!-- nested table within the first cell in the second row --> <apex:panelGrid columns="2" rendered="{! interest.Home_Schooled__c==false}"> <apex:panelGroup > <apex:outputText styleclass="label" value="High School Country"/> </apex:panelGroup> <apex:inputField value="{!interest.High_School_Country__c}"> <apex:actionSupport event="onchange" rerender="highSchoolNamePanel"/> </apex:inputField> <apex:panelGroup > <apex:outputText styleclass="label" value="High School State/Province"/> </apex:panelGroup> [snip] </apex:panelGrid> </apex:outputPanel> </apex:panelGrid>