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
abivenkatabivenkat 

Help Text Issue in VisualForce page

 

hi all,

 

i have a custom object. while creating each and every new fields in that object, i have added some lines in the Help Text (to get displayed in the UI, detail page and in edit page as well). while creating or editing or viewing the details page, the question mark (?) near every field describes about it. (i.e,.) working as it is.

 

now, i have created a visualforce page and i have overridden the new record creation page and edit page of that object. In that VF page, i have referred the fields from the custom object only (using inputField component). My problem is, i am not getting that help text (?) in my VF page, while creating a new one and editing the existing one too. how to bring the help text (?) near every field in my VF page... please help me.. 

 

 

thanks, 

abivenkat,

SFDC Learner

Best Answer chosen by Admin (Salesforce Developers) 
jwetzlerjwetzler

The only way your help text will show up automatically is if you're using pageBlock and pageBlockSection (but not pageBlockSectionItem) to display your fields.

All Answers

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.

jwetzlerjwetzler

The only way your help text will show up automatically is if you're using pageBlock and pageBlockSection (but not pageBlockSectionItem) to display your fields.

This was selected as the best answer
SF7SF7

Hi 

 

Try to do in the Vf page Show Header = true in the opening tag <Apex:page> and then all the help text you gave at the filed in the Object will be displayed in the visual force page.

grotibogrotibo

Hi,

 

It works fine with <apex:inputField but it doesn't works with <apex:inputCheckbox

Does anybody has a solution?

 

Thanks.

gs0551gs0551

Hey,

I have a similar problem. Can you share the solution for this please.