Expand my Community achievements bar.

SOLVED

insert radio button group into row cells

Avatar

Level 2

Hi All.

I would like to insert radio button group with three radio button into three cells of row. How to create radio button group and insert it to a table of row cells where each cell has own radio button?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Here's another solution:

Combine subsequent cells of a row to a single cell.

Then create a new subform outside the table. In that subform you add you radio button group.

After that make the subform floating from left to right.

Select the subform, press [Ctrl]+[X] to cut it out.

Now select the combined cell in the table and press [Ctrl]+[V] to insert the subform there.

1830610_pastedImage_0.png

1830732_pastedImage_2.png

View solution in original post

3 Replies

Avatar

Level 7

Radio buttons need to be in a group together so only one can be selected. If they are in separate cells, it wont work.

However....you can just write some simple script so it works without it actually being in a group. You could do the same with checkboxes, rather than use radiobuttons.

Here is what i would do:

Basically, when one is clicked, the other two go off.

1830464_pastedImage_0.png

form1.#subform[0].Table1.Row1.a.rb.button::click - (JavaScript, client)

Table1.Row1.b.rb.button.rawValue = "0";
Table1.Row1.c.rb.button.rawValue = "0";

form1.#subform[0].Table1.Row1.b.rb.button::click - (JavaScript, client)

Table1.Row1.a.rb.button.rawValue = "0";
Table1.Row1.c.rb.button.rawValue = "0";

form1.#subform[0].Table1.Row1.c.rb.button::click - (JavaScript, client)

Table1.Row1.b.rb.button.rawValue = "0";
Table1.Row1.a.rb.button.rawValue = "0";

Avatar

Correct answer by
Level 10

Here's another solution:

Combine subsequent cells of a row to a single cell.

Then create a new subform outside the table. In that subform you add you radio button group.

After that make the subform floating from left to right.

Select the subform, press [Ctrl]+[X] to cut it out.

Now select the combined cell in the table and press [Ctrl]+[V] to insert the subform there.

1830610_pastedImage_0.png

1830732_pastedImage_2.png

Avatar

Level 2

Hi radzmar.

That is exactly what I did.