ads

Friday 17 August 2018

Help text for apex:inputField

Code Format:

Visualforce Page:

<apex:page controller="helpcontroller">
<apex:form >
        <apex:pageBlock >
           
                <apex:pageBlockSection >
                
                <apex:pageBlockSectionItem helpText="Owner of the Account">
                
                    Owner Name <apex:inputField value="{!acc.Name}"/>
                    
                </apex:pageBlockSectionItem>
               
                </apex:pageBlockSection>
            
        </apex:pageBlock>
</apex:form> 
</apex:page>


Apex Class:

public with sharing class helpcontroller{
       public Account acc{get;set;}
        public Sample() {
    }    
}

Ouput:

No comments:

Post a Comment