Choice one of checkboxes depend of the others

How to prevent duplicate checkbox selections across multiple groups.

Overview

The issue occurs when users need to make unique selections from identical checkbox groups in a form.
Use JavaScript to dynamically disable any previously selected checkbox options in the remaining groups, ensuring each choice is unique.

Answered
ChronoForms v6
Ir Irate 31 Jan, 2018
Hello,

I want to use checkboxes to rank. Example:

First field checkboxes I propose five boxes and we can only choose one. In my example, I choose the third box

Second field checkboxes I always propose five boxes, but how can I ban the choice of three already chosen?

and the same for the 3 others fields checkboxes ?

thank you for your reply

Best regards

Bruno
Max_admin Max_admin 31 Jan, 2018
Hi Bruno,
So the user can not make the same selection again ?
Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Gr GreyHead 31 Jan, 2018
Hi Bruno,
I would probably use some JavaScript to disable the 'selected' checkboxes in the remaining groups.
Bob
Ir Irate 31 Jan, 2018
Answer
Hi Bob,
And... one idea to do that ?
Bruno
I found JS scripts to disable selected checkboxes.
Thank you
Bruno
This topic is locked and no more replies can be posted.