Good day for everyone. Here some my blocks, which allow to convert Checkboxes into Radiobuttons (by function, not by view). The aim - click on checkbox1 make status "checked" for it, and "unckecked" for checkbox2. Repeated clicks on checkbox1 does not uncheck it.
Solution proposed By Anke in this topic does not work for me, because it uncheck checkbox1 when I'm clicking on it once again. So, I tried this and it's worked. My solution looks complicated a bit, maybe somebody will suggest something more simple?
Didn't checked yet, I'm sure it will work, but, as you wrote in mention topic:
Selecting any checkbox will tick it and clear the other checkboxes, selecting a ticked checkbox will clear it, and leave other checkboxes clear also.
It's not match a little with my aim. Selected checkbox should not be cleared. Moreover, I have two different functions dependent on checked option. I think, I can identify it by name, but, as I said before, checkbox should not be cleared.