I have a checkbox group with two checkboxes. The possible valid values are either both unchecked or any one checked, but not both. Itried the following in the checkbox groups value change event:
var value = $(this).val();
console.log(value);
if (value === 'type_1') {
Apperyio('type2_checkbox').prop('checked', false);
} else {
Apperyio('type1_checkbox').prop('checked', false);
}
This was supposed to uncheck the other checkbox, but it doesn't work for some reason. Any ideas?