Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Created a visualforce page and the fields that have a helptext suddenly don't work. Can't hover over it at all. I have jquery present on the page but other than that it is pretty standard forms. Anyone experience this problem before?

share|improve this question
Showing us a (simplified) example of your Visualforce may help. Else it's stabbing in the dark. – Samuel De Rycke Feb 24 '14 at 19:41

Try wrap your outputTex/outputField in pageBlockSectionItem. check this:

<apex:pageBlockSectionItem helpText="/** some helptext - either custom or from field **/">
    <apex:outputLabel value="/** label - either custom or from field **/"/>
    <apex:outputField value="/** some field **/"/>

Ps. by "from field" I mean this syntax : {!$ObjectType.SobjectAPIName.fields.FieldName.InlineHelpText}

Using the helpText attribute, keep in mind:

The help text that is displayed next to this field as a hover-based tooltip, similar to the text that is displayed next to standard Salesforce fields if custom help is defined for the field in Setup. Note that help text only displays if the showHeader attribute of the parent page is set to true.

Standard configured help is not always displayed, this behavoir is well documented in the outputfield documentation:

Note that if custom help is defined for the field in Setup, the field must be a child of an <apex:pageBlock> or <apex:pageBlockSectionItem>, and the Salesforce page header must be displayed for the custom help to appear on your Visualforce page. To override the display of custom help, use the <apex:outputField> in the body of an <apex:pageBlockSectionItem>.

share|improve this answer
Hope you don't mind; i added some documentation references. – Samuel De Rycke Feb 24 '14 at 19:47
Even more - I am happy for it. I am sometimes to lazy for it ;) Thanks! :) – Artur Kępczyński Feb 24 '14 at 19:49
I think there seems to be a bug for visualforce pages, as i am unable to get helptexts to work for me. Even removing all javascript causes no changes – James Feb 25 '14 at 18:29

As already mentioned you can include the help text via the helpText attribute of apex:pageBlockSectionItem, but there is another well hidden feature built into the platform that's often easier. I posted a blog very similar to Birthus' answer in 2011, and another salesforce developer pointed this trick out in a twitter response.

If you include an apex:inputField or apex:outputField element as a child of apex:pageBlockSection without including an apex:pageBlockSectionItem tag around it salesforce renders the field's value as expected, but it also renders the field's label and inline help text, if any.

Something like:

<apex:pageBlockSection columns="1">
<apex:repeat value="{!$ObjectType.Incident__c.FieldSets.PortalNewLower}" var="field">
    <apex:inputField value="{!newIncident[field]}" required="{!field.required || field.DBRequired}" style="width:65%" />

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.