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
Mikko4Mikko4 

Custom field help text

Hi,

 

I have used inputField element but the help text orange ball isn't appearing on the page. The custom field which is binded has help text defined. Could this be due to to that the inputField is in a pageBlockTable? Is there a way to include the helpText?

 

Thanks!

mtbclimbermtbclimber

salesforce does not have an affordance for field level help text when fields are displayed in lists.  That's the reason you aren't seeing anything show up by default.

 

The good news is that you have access to the information in your page so you can build whatever affordance you want.

 

Assuming you expected/want this to show up in the header, the two things you need to know are:

 

1) You can put whatever you want in the header of a column in a table (not just text) by using the apex:facet component named "header".  

 

2) You can access the help text using the $ObjectType global which is essentially a handle to the describe for a given object and it's fields, e.g. {!$ObjectType.Account.Fields.My_Custom_Field__c.inlineHelpText}.