Wish that when you activate a single checkbox would reset the others?

Hello. Need help. There are 8 checkboxes, you need clicking on jform_check_day7 to drop the other 7 checkboxes, and when you activate any checkbox from jform_check_day0 to jform_check_day6, reset activity jform_check_day7. How to best implement this idea. Thanks in advance.
<fieldset id="jform_check_day" class="required checkboxes" required="required" aria-required="true">


 <label for="jform_check_day0" class="checkbox inline">
 <input type="checkbox" id="jform_check_day0" name="jform[check_day][]" value=".">Mon</label>

 <label for="jform_check_day1" class="checkbox inline">
 <input type="checkbox" id="jform_check_day1" name="jform[check_day][]" value=".">W</label>

 <label for="jform_check_day2" class="checkbox inline">
 <input type="checkbox" id="jform_check_day2" name="jform[check_day][]" value=".">Wed</label>

 <label for="jform_check_day3" class="checkbox inline">
 <input type="checkbox" id="jform_check_day3" name="jform[check_day][]" value=".">Thu</label>

 <label for="jform_check_day4" class="checkbox inline">
 <input type="checkbox" id="jform_check_day4" name="jform[check_day][]" value=".">Fri</label>

 <label for="jform_check_day5" class="checkbox inline">
 <input type="checkbox" id="jform_check_day5" name="jform[check_day][]" value=".">SB</label>

 <label for="jform_check_day6" class="checkbox inline">
 <input type="checkbox" id="jform_check_day6" name="jform[check_day][]" value=".">Sun</label>

 <label for="jform_check_day7" class="checkbox inline">
 <input type="checkbox" id="jform_check_day7" name="jform[check_day][]" value=".">Not normalized graph</label>
 </fieldset>
June 14th 19 at 19:04
3 answers
June 14th 19 at 19:06
It is possible so
Have added the following to the condition and it worked, thanks) - nikita.Stracke commented on June 14th 19 at 19:09
June 14th 19 at 19:08
hang the handler on the elements found in type checkbox/ find fieldset by id, and hang up the handler on all elements, if you will click on any element except jform_check_day7 to reset its state.

javascript interface HTMLFieldSetElement(your fieldset)
https://developer.mozilla.org/en-US/docs/Web/API/H...

---
probably you are doing some advanced selection options, a clumsy variant of implementation of the calculator service: jsfiddle.net/Quncore/28k40yws/?utm_source=website&...
June 14th 19 at 19:10
Especially for this there is such a thing as a "radio button" (radio-button), which are combined in a "group".
if you need to add the state of the partially selected, problems arise when using radio-buttons. And the problem is about checkboxes, most likely still want to use =) - nikita.Stracke commented on June 14th 19 at 19:13

Find more questions by tags JavaScriptjQuery