improved checkboxSet() to use name suffixes as values instead of just '1'