Home › Forums › Quform WordPress › 2 checkboxes required… › Reply To: 2 checkboxes required…
October 11, 2022 at 2:38 pm #34836
Participant
That did the job, also placed jQuery in it like this
(jQuery(function ($) {
var $checkboxes = $(‘.quform-field-1_3’).click(function () { if ($checkboxes.filter(‘:checked’).length > 2) { $(this).prop(‘checked’, false);
return false;
}
});
});)
With the filter code it’s all i need to do? Seems to work fine