Expand my Community achievements bar.

SOLVED

How to make radio buttons exclusive group in run time?

Avatar

Former Community Member

Hi

I have a table in which rows gets added dynamically with a button click. In the first colomn of that table i have a radio button which also gets added while creating a new instance of the row.

Now, how to make these radio buttons a exclusive group?

Thanks

Abhiram

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

You will not be able to do this with a standard radio button, as each one will be in a separate instance of the row.

The easiest way is to use a checkbox (as you can script this on/off) and then make it look like a radio button.

Example here:

https://acrobat.com/#d=sasUNmniOUgs3MwY-p4H8Q

Hope that helps,

Niall

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi,

You will not be able to do this with a standard radio button, as each one will be in a separate instance of the row.

The easiest way is to use a checkbox (as you can script this on/off) and then make it look like a radio button.

Example here:

https://acrobat.com/#d=sasUNmniOUgs3MwY-p4H8Q

Hope that helps,

Niall

Avatar

Level 1

Sorry I am a new one, I don't understand could you provide a sample?