function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NikiG22NikiG22 

Dependent Picklist Values arent Working

Hello - I am having issues with my dependent picklists not working on my VS Page. Everything is working correctly but my Dependent picklist fields arent?

 

This was working in my sandbox but now in Prod im having issues. I moved everything through a changeset so it all should match.

 

PLEASE Help!

 

Here is my page:

<apex:page standardController="Candidate__c" extensions="PublicJobApplicationExtension" title="Job Application" showheader="false" >

<style>
<!--Link Style-->
a:link {color:#1891ce text-decoration: Underline;}     <!-- unvisited link -->
a:visited {color:#1891ce ; text-decoration: Underline;} <!-- Visited link -->
a:hover {color:#1891ce ; text-decoration: Underline;}  <!-- Mouse Over link -->
a:active { color:#1891ce ; text-decoration: Underline; } <!-- selected link -->

Table.jsistyle{
border-style:solid;
border-width:2px;
border-color:#74BDE2;
text-align:left;
background-color:white;
padding:15px;
width:350px;
height:45px;
font-family:Verdana,Geneva,sans-serif;
font-size:15px;
}

th.text{
text-align:right;
margin-left:15px;
}

th.class{
colspan:2;
background-color:#ffffff;
width:100%;
font-size:15px;
color:#003698;
font-family:Verdana,Geneva,sans-serif;
}

th.classhead{
background-color:#ebeff3;
width:100%;
font-size:13px;
color:black;
font-family:Verdana,Geneva,sans-serif;
}

th.classhead2{
background-color:#ebeff3;
font-size:13px;
color:black;
font-family:Verdana,Geneva,sans-serif;
}

Table.jsistyle1{
border-style:solid;
border-width:2px;
border-color:#74BDE2;
text-align:left;
width:250px;
background-color:white;
padding:15px;
font-family:Verdana,Geneva,sans-serif;
}

<!--out side table-->
table.margin{
margin-top:0px;
margin-bottom:0px;
margin-right:179px;
margin-left:179px;
padding:3px;
border-style:solid;
border-width:3px;
border-color:#74BDE2;
background-color:#ebeff3;
}

table.margintop{
margin-top:0px;
margin-bottom:0px;
margin-right:2px;
margin-left:0px;
padding:15px;
border-style:solid;
border-width:2px;
width:100%;
border-color:#74BDE2;
background-color:#ffffff;
}

table.innertable{
margin-top:0px;
margin-bottom:0px;
margin-right:2px;
margin-left:0px;
padding:15px;
width:100%;
colspan:3;
background-color:#FFFFFF;
border-style:dashed;
border-width:2px;
border-color:#ebeff3;
}

table.innertable2{
margin-top:0px;
margin-bottom:0px;
margin-right:2px;
margin-left:0px;
padding:15px;
width:100%;
colspan:3;
background-color:#FFFFFF;
border-style:dashed;
border-width:2px;
border-color:#f1f1f1;
}


p.text{
text-align:left;
font-family:Verdana,Geneva,sans-serif;
font-size:15px
}

p.text3{
text-align:left;
font-family:Verdana,Geneva,sans-serif;
font-size:12px
}
p.textDT{
text-align:left;
font-family:Verdana,Geneva,sans-serif;
font-size:11px
}

h1.margin{
margin-top:0px;
margin-bottom:0px;
margin-right:50px;
margin-left:200px;
}



</style>
<!--Start Form-->
<apex:form >
<apex:messages id="error" styleClass="errorMsg" layout="table" style="margin-top:1em;"/>
<apex:pageBlock mode="edit" >

<!-- Image Header -->
<head>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<h class="margin"><a href="http://www.healthecareers.com" target="_blank"><img src="https://c.na3.content.force.com/servlet/servlet.ImageServer?id=01550000000PNYo&oid=00D500000007FIS&lastMod=1327507164000"/></a> 
</h>
<br/>
<!---Horizontal Rule -->
<hr width="92%" color="#63a4c5" size="0.5" /> 
</head>
<br/>
<h1 class="margin" style="font-family:Verdana,Geneva,sans-serif;font-size:20px;font-color:#1891ce" >Registration</h1>

<!-- Start Body -->
<body bgcolor="#ffffff">


<br></br>

<!--Outside Table 1-->
<table class="margin" cellspacing="2"  >


<!--Start Content Table-->
<td>
<tr>
<td colspan="2" >
<table class="margintop">
<th class="class"> Career Fair Registration Information:</th>


<td><!--inner table-->
<tr>
<td colspan="2" width="100%">
<table class="innertable">
<tr>
<td>
<p class="text3"><b>When:</b> April 10, 2012 <br/> <b>Where:</b> <a target="blank" href="http://www.marriott.com/hotels/travel/nycea-new-york-marriott-east-side/">Marriott East Side</a> <br/> 525 Lexington Avenue at 49th Street, New York, NY 10017</p><br/>
</td>
</tr>


<td><!-- Why Attend inner table-->

<tr>
<td colspan="2" width="100%">

<th class="classhead" colspan="3" >Why Attend?</th>
<table class="innertable2">
<tr>
<td>
<p class="textDT"><b><u>Why Attend?</u></b></p>
<p class="textDT">Don’t miss this exciting opportunity to network with fellow Physicians, Nurse Practitioners and Physician Assistants in the New York City region! This is a rare opportunity to speak face-to-face with representatives from top healthcare employers actively seeking 
out talented candidates in multiple specialties. And, be certain to attend the keynote speaker session clarifying upcoming changes to ICD-10-CM and HIPAA 5010, presented by Nancy Maguire, nationally-renowned procedural and diagnostic coding instructor.</p>

</td>
</tr>
</table>
</td>
</tr>
</td><!--End Why Attend inner table-->

<th class="classhead" colspan="3" >Details:</th><!--Details table-->
<td><!--inner table-->
<tr>
<td colspan="2" width="100%">
<table class="innertable2">
<tr>
<td>
<p class="textDT"><b><u>Nurse Practitioner and Physician Assistant Attendees: 3:00 pm-7:00 pm</u></b></p>
<ul>
<li><p class="textDT">Career Fair (3:00 pm-5:00 pm): Connect with employers to learn about the available opportunities within the organization. Complimentary snacks will be served during this time to network with other colleagues in attendance.</p></li>
<li><p class="textDT">Keynote Speaker (5:00 pm-7:00pm): Nancy Maguire addresses the ICD-10-CM and HIPAA 5010 initiative and how to prepare for a successful transition.</p></li>
</ul>

<p class="textDT"><b><u>Physician Attendees: 5:00 pm-9:00 pm</u></b></p>
<ul>
<li><p class="textDT">Keynote Speaker (5:00 pm-7:00 pm): Nancy Maguire addresses the ICD-10-CM and HIPAA 5010 initiative and how to prepare for a successful transition..</p></li>
<li><p class="textDT">Career Fair (7:00-9:00): Connect with employers to learn about the available opportunities within the organization. Complimentary hors d'oeuvres and cocktails will be served during this time to network with other colleagues in attendance.</p></li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</td><!--inner table-->



</table>
</td>
</tr>
</td><!--inner table-->
</table>
</td>
</tr>
</td><!--End Content Table-->


<!-- Form Fields-->
<!--Table2-->
<td colspan="2" >
<table class="margintop" >
<tr >
<td colspan="2" align="center"><apex:commandButton value="Register Now" action="{!saveApplication}"/><apex:commandButton value="Cancel" onclick="top.history.go(-1);return false;"/></td>
</tr>

<th class="class" colspan="2" >Create Your Profile:</th>

<td><!--inner table-->
<tr>
<td colspan="2" width="100%">
<table class="innertable">
<th class="classhead" colspan="3" >General Information:</th>
<tr>
<td>&nbsp;&nbsp; </td>
</tr>
<tr >
<td>First Name:<apex:inputField required="true" style="width:90%"  value="{!Candidate__c.First_Name__c}"/></td>
<td>Last Name: <apex:inputField required="true" style="width:95%"  value="{!Candidate__c.Last_Name__c}"/></td>
</tr>
<tr>
<td>Email Address:<apex:inputField required="true" style="width:90%" value="{!Candidate__c.Email_Address__c}"/></td>
<td>Confirm Email:<apex:inputField required="true" style="width:95%" value="{!Candidate__c.Confirm_Email__c}"/></td>
</tr>

<tr>
<td>Password:<apex:inputSecret required="true" style="width:90%" value="{!Candidate__c.Password__c}"/></td>
<td>Confirm Password:<apex:inputSecret required="true"  style="width:95%" value="{!Candidate__c.Password_Confirmation__c}"/></td>
</tr>

<tr>
<td>Country: <apex:inputField required="true" style="width:90%" value="{!Candidate__c.Country__c}"/></td>
<td>Zip Code:<apex:inputField required="true" style="width:95%" value="{!Candidate__c.Zip_Code__c}"/></td>
</tr>
<tr>

</tr>


</table>
</td>
</tr>
</td><!--inner table-->
</table>
</td><!--End First table-->

<!--Second Resume Table-->
<td>
<tr>
<td colspan="2" >
<table class="margintop">
<th class="class"> Post your Resume:</th>

<td><!--inner table-->
<tr>
<td colspan="2" width="100%">
<table class="innertable">
<th class="classhead" colspan="3" >Resume Information:</th>
<tr>
<td>
<p class="text3">By registering online for the Healthcare Career Fair, you will be posting your resume in the <i>HEALTH</i>e<b>CAREERS</b> resume database. You may choose to post your resume confidentially. When you “post” your resume, you add it to the database that employers search to find matches for their jobs, increasing your exposure to employers. Many employers don’t list all of their jobs, so posting your resume ensures you don’t miss a great opportunity.</p>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp; </td>
</tr>
<tr>
<td><apex:inputFile required="true"  accept="doc, txt, pdf" filename="{!fileName}" contentType="{!contentType}" filesize="1000" size="50" value="{!resume}"/></td>
</tr>
<tr>
<td>&nbsp;&nbsp; </td>
</tr>
<td>
<p>Be sure to remove your name and contact info from the actual resume document. You'll receive emails from <i>HEALTH</i>e<b>CAREERS</b> Network with information about employers that are interested in you, and you choose whether or not to contact them. </p>
</td>
<tr>
<td>&nbsp;&nbsp; </td>
</tr>
<tr>
<td><apex:inputField value="{!Candidate__c.Confidential__c}"/>&nbsp;List my name as confidential.</td>
</tr>
</table>
</td>
</tr>
</td><!--inner table-->
</table>
</td>
</tr>
</td><!--End Resume Table-->

<!--Third Table--><!--Dicipline Tables-->
<td>
<tr>
<td colspan="2" width="100%">
<table class="margintop">
<th class="class" colspan="3" >Select Your Position Preference:</th>
<tr>
<td>
<td>
<tr>
<td colspan="2" width="100%">
<table class="innertable"><!--inner table-->
<th class="classhead" colspan="3" >Preferred Job Categories:</th>
<tr>
<td>
<tr>
<td>&nbsp;&nbsp; </td>
</tr>
<tr >
<td><apex:inputField required="true"  value="{!Candidate__c.JobSeeker_Type__c}"/></td>
<td><apex:inputField value="{!Candidate__c.Discipline_Name_Level_2__c}"/></td>
<td><apex:inputField value="{!Candidate__c.Sub_Discpline_Level_3__c}"/></td>
</tr>
<tr>
<td><apex:inputField value="{!Candidate__c.JobSeeker_Type_2__c}"/></td>
<td><apex:inputField value="{!Candidate__c.Discipline_Name_Level_2_2__c}"/></td>
<td><apex:inputField value="{!Candidate__c.Sub_Discpline_Level_3_2__c}"/></td>
</tr>
<tr>
<td><apex:inputField value="{!Candidate__c.JobSeeker_Type_3__c}"/></td>
<td><apex:inputField value="{!Candidate__c.Discipline_Name_Level_2_3__c}"/></td>
<td><apex:inputField value="{!Candidate__c.Sub_Discpline_Level_3_3__c}"/></td>
</tr>
</td>
</tr>
</table>
</td>
</tr>
</td><!--inner table-->

<!--work locations-->
<td><!--inner table-->
<tr>
<td colspan="2" width="100%">
<table class="innertable">
<th class="classhead" colspan="3" >Preferred Work Locations:</th>
<tr>
<td>
<tr>
<td>&nbsp;&nbsp; </td>
</tr>
<tr >
<td><apex:inputField required="true" id="Preferred_Work_Locations_Country__c" value="{!Candidate__c.Preferred_Work_Locations_Country__c}"/></td>
<td><apex:inputField id="Preferred_Work_Locations_state__c"   value="{!Candidate__c.Preferred_Work_Locations_state__c}"/></td>
<td><apex:inputField id="Preferred_Work_Locations__c"         value="{!Candidate__c.Preferred_Work_Locations__c}"/></td>
</tr>
<tr>
<td><apex:inputField value="{!Candidate__c.Preferred_Work_Locations_Country_2__c}"/></td>
<td><apex:inputField Value="{!Candidate__c.Preferred_Work_Locations_State_2__c}"/></td>
<td><apex:inputField value="{!Candidate__c.Preferred_Work_Locations_2__c}"/></td>
</tr>
<tr>
<td>&nbsp;&nbsp; </td>
</tr>
<tr>
<td colspan="2" >Willing to Relocate<apex:inputField required="true" value="{!Candidate__c.Willing_to_Relocate__c}"/></td>
</tr>
</td>
</tr>
</table>
</td>
</tr>
</td><!--inner table-->

</td>
</tr>
</table>
</td>
</tr>
</td>

<!--Fourth Table--><!--Demographic Tables-->
<td>
<tr>
<td colspan="2" width="100%">
<table class="margintop">
<th class="class" colspan="3" >Select Your Employment Preferences and Demographic Information:</th>
<tr>
<td>

<td>
<tr>
<td colspan="2" width="100%">
<table class="innertable"><!--inner table-->
<th class="classhead" colspan="3" >Education and Experience:</th>
<tr>
<td>&nbsp;&nbsp; </td>
</tr>
<tr>
<td>Years of Experience:<apex:inputField required="true"   value="{!Candidate__c.Years_of_exp__c}"/></td>
<td>Education Level:<apex:inputField required="true"   value="{!Candidate__c.Education_Level__c}"/></td>
<td>Additional Languages:<apex:inputField required="true"   value="{!Candidate__c.Additional_Languages__c}"/></td>
</tr>
<tr>
<td>
<tr >
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Other:&nbsp;<apex:inputField value="{!Candidate__c.Education_Level_Other__c}"/></td>
<td>Other:&nbsp;<apex:inputField value="{!Candidate__c.Additional_Languages_Other__c}"/></td>
</tr>
</td>
</tr>
</table>
</td>
</tr>
</td><!--inner table-->

<!--Medical Licenses-->
<td><!--inner table-->
<tr>
<td  colspan="3" width="100%">
<table class="innertable">
<th class="classhead2" >Medical Licensures:</th>
<th class="classhead2" >Employment Preferences:</th>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>I am licensed to practice medicine in the <br/>following states/territories:
<td >Work Authorization:<apex:inputField required="true" value="{!Candidate__c.Work_Authorization__c}"/> <br/></td>
<tr>
<td><apex:inputField required="true" value="{!Candidate__c.Medical_State_Licensures__c}"/></td>
<td>Preferred Employment Type:<apex:inputField required="true" value="{!Candidate__c.Preferred_Employment_Type__c}"/></td>
</tr>

</td>
</tr>
</table>
</td>
</tr>
</td><!--inner table-->



<td><!--inner table-->
<tr>
<td colspan="2" width="100%">
<table class="innertable">
<th class="classhead" colspan="3" >Demographic Information:</th>

<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2">(You will not be subject to adverse action or treatment if you choose 'Decline to Identify' as an answer.)
<tr>
<td>Gender:&nbsp;<apex:inputField value="{!Candidate__c.Gender__c}"/></td>
<td>Ethnicity:&nbsp;<apex:inputField value="{!Candidate__c.Ethnicities__c}"/></td>
</tr>

</td>
</tr>
</table>
</td>
</tr>
</td><!--inner table-->

</td>
</tr>
</table>
</td>
</tr>
</td>

<!-- Last Table-->
<!--Table2-->
<td colspan="2" >
<table class="margintop" >


<td><!--inner table-->
<tr>
<td colspan="2" width="100%">
<table class="innertable">

<tr >
<td colspan="2" align="center"><apex:commandButton value="Register Now" action="{!saveApplication}"/><apex:commandButton value="Cancel" onclick="top.history.go(-1);return false;"/></td>
</tr>

</table>
</td>
</tr>
</td><!--inner table-->
</table>
</td><!--End Last table-->

<!--Outside Table 1 End--></table>

<!--closing tags-->
</body>
</apex:pageBlock>
</apex:form>
</apex:page>

 

Cheers, Niki

Best Answer chosen by Admin (Salesforce Developers) 
NikiG22NikiG22

The resolution ot this is check the Version Settings on your page! the version 23.0 will allow dependent picklists to work on your VP.  15.0 will not!

 

thanks, Niki