Hi all,
I have created a dialog list field “Color” in my form. It has following options : Red,Blue, Green, White, Golden.
What i want that user can change color values using dialog list “Color” and that color appears in computed field “Color_display”
For Color_display, I wrote following formula:
R:= 255:0:0:255:255:255;
B := 0:0:255:255:255:255;
GOLD := 255:225:24:0:0:0;
W := 255:255:255:0:0:0;
G :=0:128:0:255:255:255;
@If(color = “Blue”;B;color = “Green”;G;color = “Red”;R;color = “Golden”;GOLD;color = “White”;W;“”)
But the problem is that it is not working.
Have I done anu mistake?
Please respond.
Regards,
Aisha Ishrat