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

SOLVED

Selecting A Radio Button Will Select A Different One

jrvh924
Level 3
Level 3

Hello,


I am working on a form where the users answer a series of questions.  With one of the questions, if No is selected, they are to select N/A on the next question.  I have tried all of the coding that I know to make this do this automatically, but I cannot figure out something that will work.  Does any one have any suggestions?


Thank you!

Justin

1 Accepted Solution
dcidev
Correct answer by
Level 8
Level 8

On change event of your radio button group you can put:

if (this.rawValue=="No")

     DropDown2.rawValue="N/A";

You have to make sure though that the values in quotes are the values associated with your radio buttons. To verify the values associated with the text, click on your radio button group. Select the Binding tab under the object palette. If Specify Item Values is checked, then you'll see what you need to put in quotes under the Value column.

Kyle

View solution in original post

2 Replies
dcidev
Correct answer by
Level 8
Level 8

On change event of your radio button group you can put:

if (this.rawValue=="No")

     DropDown2.rawValue="N/A";

You have to make sure though that the values in quotes are the values associated with your radio buttons. To verify the values associated with the text, click on your radio button group. Select the Binding tab under the object palette. If Specify Item Values is checked, then you'll see what you need to put in quotes under the Value column.

Kyle

jrvh924
Level 3
Level 3

Kyle,


That did it.  Thanks again!

Justin