Return to Snippet

Revision: 30658
at August 19, 2010 01:17 by Xhitman


Initial Code
<apex:pageBlockSectionItem >
    <apex:outputLabel value="Category 1" for="cbxlevel1"/>
    <apex:outputPanel styleClass="requiredInput" layout="block">
    <apex:outputPanel styleClass="requiredBlock" layout="block"/>
    <apex:selectList value="{!selectedLevel1}" id="cbxlevel1" size="1" required="true">
        <apex:selectOptions value="{!level1items}"/>
        <apex:actionSupport event="onchange" rerender="cbxlevel2"/>
    </apex:selectList>
    </apex:outputPanel>
</apex:pageBlockSectionItem>

Initial URL
http://blog.jeffdouglas.com/2008/11/16/displaying-the-required-red-bar-for-a-control/

Initial Description
Credits to Jeff Douglas

Initial Title
@Jeff - Displaying the Required Red Bar for a Control

Initial Tags

                                

Initial Language
Other