Dynamic Text Question

Hello! I have a quiz that has 4 choices which looks something like this:

A: Green
B: Blue
C: Orange
D: Yellow

I have a text variable named Color and I want to set that text variable equal to whatever choice is made by the user. Basically I need something like this to happen:

A: onClick Green; setVariable Color = Green
B: onClick Blue; setVariable Color = Blue
C: onClick Orange; setVariable Color = Orange
D: onClick Yellow; setVariable Color = Yellow

So I need the text variable container to hold whatever color they click on. Thanks in advance for your help!


2 Replies