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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

Limit check box choice to only one in table row.

Avatar

Level 9

In the linked form below, I would like users to only be able to select one check box per row. Is there a way or script to accomplish this?

https://acrobat.com/#d=VfYd9XGlRqFHTjCEtZwcdw

-Don

1 Accepted Solution

Avatar

Correct answer by
Level 10

There wouldn't be any columns after the cells are merged, that's how it works with the radio buttons.

Here's a sample:

https://acrobat.com/#d=w03myzsRudUgpR*ALKFFsw

View solution in original post

6 Replies

Avatar

Level 10

Hi,

Here are a few examples:

http://assure.ly/omsURE (limiting checkboxes)

http://assure.ly/JGDGjM (mimicing exclusion groups in tables)

Hope that helps,

Niall

Avatar

Level 10

You can also use radio buttons instead of checkboxes.

In your case you could merge the four cells you're using for checkboxes and then put a subform that is flowed Left to Right in the resulting large cell. Then create a radio button group of four buttons that have no captions and drop it in the subform. You can then adjust the margins of the buttons to get them to line up properly. You won't get the column lines between the buttons but I don't think that's a necessity.

Avatar

Level 9

Niall,

I appreciate your reply but the example you sent showa a checkbox in each row created dynamically. My form has four checkboxes in the same row, one in each column. I don't know how to change the script when the checkboxes are all in the same row, each in a different column.

-Don

Avatar

Level 10

Hi,

Jono is right, because you are looking for an exclusion group in a row, placing radio buttons within a subform will give you the functionality you want. In addition you can set the visual appearance to squares. Lastly, if you use the subform approach, then you should be able to use vertical lines (however this will be a bit messy).

Good luck,

Niall

Avatar

Correct answer by
Level 10

There wouldn't be any columns after the cells are merged, that's how it works with the radio buttons.

Here's a sample:

https://acrobat.com/#d=w03myzsRudUgpR*ALKFFsw