8

Is it possible to format at custom label referenced in Visualforce, specifically make the label all lowercase?

For example if I have a custom label called "Opportunity" with a value of "Opportunity" could I reference it in VF as:

{!$Label.Opportunity} <!-- make this "opportunity" not "Opportunity" -->

2 Answers 2

11

You can use LOWER(text, [locale]) function to this .

{!LOWER($Label.Opportunity)}

In case you are interested in more functions like this ,refer this doc

0
5

See Visualforce Functions. You can use the LOWER function:

{!LOWER(someValue)}

You must log in to answer this question.

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