You need to sign in to do that
Don't have an account?
Steve Berley
conditionally change text in vf page
I'm generating a pdf letter in a vf page and am tripping on a very simple thing...
If the field giftAmount, which is passed in from apex as say $2,500.00 is over 1000, I want to sign the lettter Sonja, otherwise I'd like to sign it Karen.
How do I do this in VF?
Current Code - gives generic "Syntax Error" message
Thanks for the help...
Steve
If the field giftAmount, which is passed in from apex as say $2,500.00 is over 1000, I want to sign the lettter Sonja, otherwise I'd like to sign it Karen.
How do I do this in VF?
Current Code - gives generic "Syntax Error" message
{!IF( Value({!giftAmount}) >= 1000, "Sonja", "Karen")}
Thanks for the help...
Steve
In the below code you have used flower braces, i have striked them. thats not actually required, inside the expression
once you started {! you dont have to include in particular expression again.
corrected code is below
Thanks
D Naveen Rahul.