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

Learn More

View all

Sign in to view all badges

Show on click evert



I have 3 radio buttons that I would like to tie to a textbox and fill it in when clicked.

I was thinking something like

if radiobutton = true

then textbox.text = "you clicked one" & textbox2.text = "you clicked one"

if radiobutton2 = true

then textbox.text = "you clicked two" & textbox2.text = "you clicked one"

if radiobutton3 = true

then textbox.text = "you clicked three" & textbox2.text = "you clicked three"

end if

'I not familiar with with formcalc or java so any help will be appreciated




I found what I was looking for here

The first pc of code didn't work as posted but all I had to do was throw in a couple of else if's and it works just find.

Thanks for the help.

if (this.rawValue == 1) {

subform1.TextField1.rawValue = "You picked Choice 1";

subform1.TextField2.rawValue = "You picked Choice 1"


else if (this.rawValue == 2) {

subform1.TextField1.rawValue = "you picked choice 2";

subform1.TextField2.rawValue = "you picked choice 2"


else if (this.rawValue == 3) {

subform1.TextField1.rawValue = "You picked choice 3";

subform1.TextField1.rawValue = "you picked choice 2"


else {

subform1.TextField1.rawValue = "Please select one of the radio buttons";