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
Sascha DeinertSascha Deinert 

Help text does not appear

Hi,

 don't know why, but the help text and the helptextimage does not appear.
<apex:pageBlockSectionItem helpText="{!$ObjectType.Opportunity.Fields.StageName.inlineHelpText}">
             <apex:outputLabel value="{!$ObjectType.Opportunity.Fields.StageName.label}" />
             <apex:inputField value="{!oppString.StageName}" />
         </apex:pageBlockSectionItem>

Thanks,
Sascha
Gupta.VishalGupta.Vishal
Hi Sascha  ,

Check your FLS , it looks preety alright .

thansk ,
Vishal
RohRoh
Hello Sascha,
There seems to be some error in css with salesforce. The best alternate way is below.

<style>
        .vfHelpText a            {position:relative;}
        .vfHelpText a span       {display: none;}
        .vfHelpText a:hover span {display: block;
                                  position:absolute;
                                  top:1.05em;
                                  padding:2px 5px;
                                  left:1em; width:17em;                            
                                  
                                  background-color:#FEFDB9;
                                  color:black;
                                 }
    </style>

<span class="vfHelpText">
                                                    <a herf="javascript:return false">
                                                        <img src="/s.gif" alt="" class="helpOrb" />
                                                               <span >YOUR TEXT HERE</span>                                                       
                                                    </a>        </span>

Please 'LIKE' this if you think its the solution.

Cheers !!,
Roh
Abhishek BansalAbhishek Bansal
Hi Sascha,

By Default, there is no help text available on StageName field of Opportunity.
So please edit your field and some help text in it and after that you will be able to see the help text on VF page.

Please follow the below steps :
Setup -> Customize -> Opportunities -> Fields
In the fields page, Click EDIT on StageName field and some help text on it.

Now you will be able to see help text on VF page.
Please let me know if you need more help on thi.

Thanks,
Abhishek.
Sascha DeinertSascha Deinert
The problem was, because I set the attribute showheader to false.

But now I have the problem, I don't want the header on this visualforce page.

Any ideas?
Abhishek BansalAbhishek Bansal
Hi Sascha,

Please go and check that whether there is helptext populated on the field or not.
If not, than please add helptext on the field and than you will be able to see it on VF page.

Thanks,
Abhishek.
 
Milson MarcelinMilson Marcelin
In the lightning view if you are using VF page helpText is not supported switch to the classic view so the help text will be visible.

Thank you.