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
Nadia GainsbourgNadia Gainsbourg 

Help text disappears

Hi All,

I need to display certain fields on a VF page with an asterics; however, when I add the custom display label, the help text associated disappears. Is there any way to achieve what I need while preserving the help text or is it a choice between help text and an asterics?

Here's the code:  <apex:outputField value="{!Opportunity.CloseDate}" label="Close Date *"/>
Raj VakatiRaj Vakati
Hi Nadia , 
Are you using outputFiled within the pageBlock tag? Please share the code. 

Thanks , 
Raj 
Raj VakatiRaj Vakati
<apex:pageBlock>
    <apex:pageBlockSection>
        <apex:outputField value="{!Account.Test__c}" />
    </apex:pageBlockSection>
</apex:pageBlock>