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 

How to display help text on VF page using custom settings

I am having Account object. the field name is  Account_secondary_result__c,help text=secondary.Currently i am displaying the help text "seconday" on VF page.

 

when i moves cursor on to the field name i.e help text on VF page ......I need to display the pop up help on the particular field.I am having like mote than 5 fields with different pop up help description exceeding 255 characters.

 

 

Urgent: IS there anyway i can  display  pop up help on   VF Pagefield i.e. help text

Devendra NataniDevendra Natani

Hello,

 

Please use the sample code as reference.

 

<apex:page standardController="Account">
  <apex:form>
      <apex:pageBlock>
          <apex:pageBlockSection>
              <apex:pageBlockSectionItem helpText="Put your helptext here">
                  <apex:outputLabel value="Name"></apex:outputLabel>
                  <apex:inputField value="{!Account.Name}"/>
              </apex:pageBlockSectionItem>
          </apex:pageBlockSection>
      </apex:pageBlock>
  </apex:form>
</apex:page>

 Please let me know if there is any issue.

Navatar_DbSupNavatar_DbSup

Hi,

             You can show custom help text adjacent to field label name using below 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.