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" -->
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

5

See Visualforce Functions. You can use the LOWER function:

{!LOWER(someValue)}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.