Saturday, March 26, 2011

How to show help text on Visualforce Page?

Just came across this so thought of sharing it

When we use or tag in visualforce page then the help text comes automatically but when you are using or then use the following to get the help text :

 <apex:pageBlock>  
<apex:pageBlockSection>
<apex:pageBlockSectionItem helpText="{!$ObjectType.objectName__c.Fields.fieldName__C.inlineHelpText}" >
<apex:outputLabel> FieldName </apex:outputLabel>
<apex:inputText> FieldName__c </apex:inputText>
</apex:pageBlockSectionItem>
</apex:pageBlockSection>
</apex:pageBlock>

1 comment:

sunitha vishnu said...

It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Android Training in Chennai
Ios Training in Chennai