Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Hi all,
I have a DDList with two items: YES, NO
Is it posible when user select YES the color to change to Green and
when user select NO the color to change to Red
Caption remains Black for both cases
Thank you
Hi,
You can write the java script in the "exit" event of the DDL as follows
if (this.rawValue == "YES")
{
this.font.fill.color.value = "0,128,0";
}
if (this.rawValue == "NO")
this.font.fill.color.value = "255,0,0";
Thanks,
Dev
Views
Likes
Replies