Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

DDList question

mmgiath
Level 7
Level 7

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

1 Reply
Debadas
Level 4
Level 4

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