I need to use helptext with one custom field in Visualforce but Salesforce it allows 255 characters in helptext with a field. One solution is to create an image of text and show that image onMouseOver. Can you suggest me other solutions?

  • Why don't you create a new "Text Area" field with up to 32.768 characters? – Sergej Utko Feb 6 '13 at 7:08
  • @mast0r, it looks like Pankaj needs >255 characters for the hover-help-text, not the input field. – Shumon Saha Feb 6 '13 at 7:16
  • yes sumanKrishnasha – Pankaj Feb 6 '13 at 7:22

Use <apex:pageBlockSectionItem>, it has a helptext attribute that corresponds to the balloon. You can put your "long help" in a custom label for example so it can be translated to other languages like standard help texts.

<apex:pageBlockSectionItem helpText="Lorem ipsum ... (400+ chars)">
    <apex:outputLabel value="{!$ObjectType.Opportunity.fields.CurrencyIsoCode.Label}" />
    <apex:outputField value="{!Opportunity.CurrencyIsoCode}" />

Sample screenshot of long "Lorem ipsum" in a help tip.

  • is this support hyperlink inside Help Text? – unidha Oct 7 '15 at 4:40

If you are competent in JavaScript and using JavaScript libraries,
use <apex:inputText title="LongHelpTextGoesHere" />
in your Visualforce page with either of the following:

  1. http://jquerytools.org/demos/tooltip/form.html
  2. http://jqueryui.com/tooltip/

In Spring'21 Salesforce release,

Get More Characters for Field-Level Help Text

Customers can view the field-level help text by hovering over the Info icon. And with the character limit expanded from 255 to 510, you can now provide more detailed help information. This increase applies to standard and custom fields on detail and edit pages.


This change applies to Lightning Experience and Salesforce Classic in Professional, Enterprise, Performance, Unlimited, and Developer editions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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