+ Start a Discussion
Ashish Kumar YadavAshish Kumar Yadav 

how we can display help Text in visualforce account new page?

Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Ashish,
Please refer below link which might help you in this
https://howtodoitinsalesforce.blogspot.com/2016/12/display-helptext-in-visualforce-page-in.html
https://www.biswajeetsamal.com/blog/displaying-help-text-in-visualforce-page/

Hope this helps you
Let me know if this helps you. Kindly mark it as solved so that it may help others in future.

Thanks and Regards
Ashish Singh SFDCAshish Singh SFDC
Hi Ashish,

You can use inputField tag instead of inputtext. inputfield tag will inherit proporty of your orginal field. You can define you help text in the field of the object.  

For example:

If we have rating field on account. Ill update my help text in the field itself. Now in Visualforce page ill refer it using <apex:inputField value="{!acc.rating}"/>.

User-added image
 
<apex:page controller="DML_2" tabStyle="Book__c" >
    <apeX:form >
        <apex:pageblock mode="edit">
            <apex:pageblockbuttons location="Top">
                <apex:commandbutton value="Create" action="{!Create}"/>
                <apex:commandButton value="Cancel" action="{!Cancel}"/>
            </apex:pageblockbuttons>
            <apex:pageBlockSection title="Accounts" collapsible="false" >
                <apex:inputField value="{!acc.Name}"/>
                <apex:inputField value="{!acc.Phone}" required="true"/>
                <apex:inputField value="{!acc.industry}"/>
                <apex:inputField value="{!acc.rating}"/>
            </apex:pageBlockSection>
            <apex:pageBlockSection title="Contacts" collapsible="false">
                <apex:inputField value="{!con.lastname}"/>
                <apex:inputField value="{!con.firstName}"/>
                <apex:inputField value="{!con.phone}"/>
                <apex:inputField value="{!con.email}"/>
            </apex:pageBlockSection>
            <apex:pageBlockSection title="Opportunity" collapsible="false">
                <apex:inputField value="{!opty.Name}"/>
                <apex:inputField value="{!opty.stageName}"/>
                 <apex:inputField value="{!opty.User_Manager_The_Opportunity_Name__c}"/>
                `<apex:inputField value="{!opty.closeDate}"/>
            </apex:pageBlockSection>            
        </apex:pageblock>
    </apeX:form>
</apex:page>

User-added image

Thanks,
Ashish Singh.