2

enter image description here

How do we hide help text in VF pages? Specially in out/input Fields. Any idea, Thanks

1
  • Please upvote an answer and mark it as the solution if your question has been successfully answered :) Commented Jul 9, 2015 at 20:00

2 Answers 2

3

Since the helptext is rendered in as part of the pageBlockSectionItem's Label, you can get around it by manually declaring the section item and label, like so:

<apex:pageBlockSectionItem >
    <apex:outputLabel value="{!$ObjectType.Incident_Email__c.fields.Subject__c.Label}"/>
    <apex:inputField id="subjectField" value="{!record.Subject__c}"  />
</apex:pageBlockSectionItem>

and if you wanted to provide alternate helptext (or helptext for a random input that isn't tied to an sObject field), you can use the helptext attribute of the apex:pageBlockSectionItem

1

Actually it depends on your object definition.

If you define the field with some help description, it will be shown. Otherwise, it will not appear.

Look at these examples

enter image description here

Where

Text with Help is:

enter image description here

And Parent_Account is:

enter image description here

2
  • Thanks for the answer. But the problem is I only need hide some of them. Not all of them. Commented Jul 9, 2015 at 17:14
  • 2
    This answer provides good context info for newbies, but does not address the question... Commented Jul 9, 2015 at 17:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .