Sign up ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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? –  mast0r 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

2 Answers 2

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 yesterday

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.