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

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?

share|improve this question
Why don't you create a new "Text Area" field with up to 32.768 characters? – Sergey Utko Feb 6 '13 at 7:08
@mast0r, it looks like Pankaj needs >255 characters for the hover-help-text, not the input field. – Suman Krishna Saha Feb 6 '13 at 7:16
yes sumanKrishnasha – Pankaj Feb 6 '13 at 7:22
up vote 7 down vote accepted

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.

share|improve this answer
Thanks so much:-) eyescream – Pankaj Feb 6 '13 at 9:18
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:

share|improve this answer
I'd say that's a huge overkill to use jQuery for something so simple. ? ;) – eyescream Feb 6 '13 at 9:23
@eyescream, funny screenshot in your comment! Agree with your answer to the question. I was not aware of the helpText attribute. – Suman Krishna Saha Feb 6 '13 at 9:56

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.