I have this custom label in a Visual Force page: {!$Label.fb_contact_cs_title}
I want to first have an in-page conditional statement. Then I want to put that variable into the custom label.
{! if case.origin = 1, variable = 10; if case.origin = 2, variable = 20 }
{!$Label.fb_contact + variable}
Best Answer
You can declare a variable and set the conditional value like this:
Then you can use it anywhere you like, just like a normal merge field:
In your case just concatenate it to your label.