function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
badangbadang 

Displaying Help text On VF Page

Hi Guys,

 

Can anybody help with my question.....

 

can i display help text of field instead using  field label nameson VF page or not?

Saravanan @CreationSaravanan @Creation

Hi,

 

If u want to display a helptext of the field in VP make sure ur field has help text go to the particular object and check whether the field contain helptext if not give value then come to the VP.and try follow.

 

<apex:page controller="multi">
<apex:pageBlock >
    <apex:Form >
        <apex:pageMessages />
        <apex:pageBlockSection >
        <apex:inputField value="{!mul.Name}"/><br/><br/>
        <apex:inputField value="{!mul.pick__c}"/><br/>
        <apex:commandButton value="save Selected picklist value" action="{!save}"/>
        </apex:pageBlockSection>
    </apex:Form>
    </apex:pageBlock>
</apex:page>

 

you must use the <apex:inputfield> inside the <apex:pageBlock> and<apex:pageBlockSection>  

now u can able to helptext of the field in VP

 

are u got it.

Navatar_DbSupNavatar_DbSup

Hi,


you can set the help text adjacent to field label name by using the belwo code snippet.


<apex:panelGrid columns="2">
<apex:inputText value="{!name_hm6}"/>
<img src="/s.gif" alt="Help" class="helpIcon" title="Use the “Value” field to provide the text that will appear as a link in the Header Menu in the specified position. "/>
</apex:panelGrid>

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

badangbadang

I am having Field Name: Eval_ Opportunity list_Result__c

                      Help Text: Opportunity List

 

So instead of displaying fieldname on VF page i need to dispaly Help text  on VF page as columns.I am not looking for popups on field name.

 

Thanks

Badang

DannyK89DannyK89

Try this:

 

<apex:pageBlockSectionItem >
<apex:outputLabel value="{!$ObjectType.Account.Fields.Phone.inlineHelpText}"/>
        <apex:inputField value="{!Account.Phone}"/>
</apex:pageBlockSectionItem>