Subfile radio button

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
HobeSoundFL
New User
Posts: 2
Joined: Thu May 18, 2017 9:07 am
First Name: Jon
Last Name: Allen
Company Name: GBS, Inc
Contact:

Subfile radio button

Post by HobeSoundFL »

Hi, I have a radio button on a subfile. It is allowing you to select multiple radio buttons. I have the Radio Button Group set but you can still select multiple radio buttons. I need it to unselect a previously selected radio button when a different radio button is selected.

Thanks for you help.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Subfile radio button

Post by Scott Klement »

Your message can be interpreted a few different ways:

1) You have two or more radio buttons in the same row of the grid, and they have the radio button group set -- but it's not set to the same value on each button. In this case, the buttons aren't de-selected because they are in different groups -- so that's normal.

2) You have two or more radio buttons in the same row of the grid and they are set to the same radio button group as each other. In this case, it should de-select the other buttons in that row. It does for me when I try it.

3) You have one radio button in each row of a subfile, and you want it to select only one button in one row and turn off the buttons in the other rows. This won't work because each row of a subfile is a separate record. So even if the radio button group is bound to the same field name, it's really a separate field because it's in a different record. In this case, it is working as expected.

If the problem is #3, then I would recommend using row selection to select the row instead of radio buttons. It looks nicer, and will do what you're asking it to out-of-the-box. However, if you must do it with radio buttons, it may be possible with some JavaScript coding... it'll be more complicated, though, that's for sure, since you're going against the way it was designed to work.
HobeSoundFL
New User
Posts: 2
Joined: Thu May 18, 2017 9:07 am
First Name: Jon
Last Name: Allen
Company Name: GBS, Inc
Contact:

Re: Subfile radio button

Post by HobeSoundFL »

Thanks Scott, yes it was option #3. I will check out your suggestion. Thanks for you input!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests