Created
February 23, 2017 06:51
-
-
Save sankaran1984/2e7e23ec5c217d0ad32dfacacdad647a to your computer and use it in GitHub Desktop.
visualforce - Beyond Basics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardController="Opportunity"> | |
<style> | |
.ReqHelpText { | |
display : inline-block; | |
width : 3px; | |
background-color : #c00; | |
} | |
</style> | |
<apex:form> | |
<apex:pageblock > | |
<apex:pageBlockSection collapsible="false" showHeader="true" title="Opportunity Section"> | |
<apex:facet name="header"> | |
<apex:outputPanel> | |
<apex:outputPanel styleClass="ReqHelpText"> </apex:outputPanel> | |
<apex:outputText value="Fill Required Fields"/> | |
</apex:outputPanel> | |
</apex:facet> | |
<apex:inputField value="{!Opportunity.Name}"/> | |
</apex:pageBlockSection> | |
</apex:pageblock> | |
</apex:form> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment