If I have a checkbox that marks all the checkboxes by default, however, it does not mark the one of the other windows, that is, the tab 1 are all selected, but the others are not.
At the time of saving, it does not validate the data that was selected. Within the function "action2" is the code that registers in case there are more than two marked checkboxes, however it does not enter that condi tion, you will be added an" ENTRÓ "message to know what you are entering and does not respect it.
However if I do it manually, selecting one by one, if you enter that condition and save it. enter the description of the image here
Greetings!