Requiring a specific number of checks on checkboxes

Your software
My Mautic version is: 3.3.3
My PHP version is: 7.3
My Database type and version is:

Your problem
My problem is: I would like to require a minimum of two checks on a checkbox question on a form.
It would be nice to be able to set minimum or maximum numbers of checks at times.

Steps I have tried to fix the problem:
Right now I am looking to see if anyone else has solved this issue. My next step is to try and write some javascript to validate.