You need to sign in to do that
Don't have an account?
Mohandaas
Make Selectlist field required
The 'required' attribute in <apex:selectlist> tag is not functioning. Is there a way around to make it required?
<apex:pageBlockSectionItem id="placSecItem">
<apex:outputLabel for="type">Contact Record Type</apex:outputLabel>
<apex:selectList value="{!recordTypeId}" required="true" multiselect="false" id="type" size="1" onchange="changeRecordType()">
<apex:selectOptions value="{!items}"/>
</apex:selectList>
</apex:pageBlockSectionItem>