You need to sign in to do that
Don't have an account?
Displaying custom help fields on a visual force page
Hello,
I have am building an application using visualforce pages to create complex forms for medical interviews.
I have hundreds fields and 20 forms, so I am very concerned about future maintainability of the forms and keeping the labels and help text on the forms in sync with the salesforce fields/reports and page layouts.
So I would like to display the label and custom help field data on the form for each field for example:
Field Label: Customer Primary Concern
Help Text: Write down the customers primary concern in his of her own words
I would like to display the following on the VisualForce page:
Customer Primary Concern (Write down the customers primary concern in his of her own words)
this is a text area
I want the help text to persist on the page and want to be able to format it with css, rather then be a hover button
So ideally the code for this would look like this
<apex:outputtext value={"contact.Customer_Primary_Concern__c.Label"}>
(<apex:outputtext value={"contact.Customer_Primary_Concern__c.HelpText"}>)<br/>
<apex:inputTextarea value="{!contact.Customer_Primary_Concern__c}"/>
How do I refer to the Label and Help text fields on a visualforce page.
Thank you so much for your help.
Cheers,
Martin
Sorry, thought you'd figure that one out yourself, but here it is:
Mark this as a solution if this fully answerd what you were looking for.
All Answers
You're not far off, this should work:
Thank you so much for the response, I can see that works for the Label, but what about the custom Help Text?
Best,
Martin
Sorry, thought you'd figure that one out yourself, but here it is:
Mark this as a solution if this fully answerd what you were looking for.
You may want to take a look at Improved Help for Salesforce
http://improvedapps.com/improvedhelp/
Improved Help allows Help Authors to: