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
N@ypersN@ypers 

Is posible to add "help text" in a field if I'm using a controller?

 

Hi, I'm creating a VF page, and I need to add "help text" in a fields, but I'm not using standarcontroller, what can I do? 

 

Please Help!

Best Answer chosen by Admin (Salesforce Developers) 
Ken KoellnerKen Koellner

<apex:outputText title="Put Some Text Here" value="{!yourMergeVariable}"/>

 

Try that.  Put the mouse over it and don't move it.  You should get a pop-up box with the text.

 

All Answers

Ken KoellnerKen Koellner

 

I think if you use the title= attribute you will get a box that pops up with a message when you hover over the field.  I don't know for what tags it works.  I've used it with apex:outputText.  I don't know if it works with apex:inputText.

N@ypersN@ypers

I tried but I couldn't see the box you mention, and even I tried using 'apex:outputText', Do I need to add anything else?

Ken KoellnerKen Koellner

<apex:outputText title="Put Some Text Here" value="{!yourMergeVariable}"/>

 

Try that.  Put the mouse over it and don't move it.  You should get a pop-up box with the text.

 

This was selected as the best answer
N@ypersN@ypers

Perfect!, it's works, thank you!

 

And is possible to use a image too, like (!)