1) when I enter in this htm page I see enabled only checkbox of categories A, M and T; checkboxes of microcategories all disabled;
2-a) If I select the checkbox of macrocategory A, M and T checkboxes all disabled;
2-b) If I select the checkbox of macrocategory M, A and T checkboxes all disabled;
2-c) If I select the checkbox of macrocategory T, A and M checkboxes all disabled;
3) If I select the checkbox macrocategory A enable only the checkboxes of microcategories corresponding to macrocategory A;
4) If I select the checkbox macrocategory M enable only the checkboxes of microcategories corresponding to macrocategory M;
5) If I select the checkbox macrocategory T enable only the checkboxes of microcategories corresponding to macrocategory T;
6) One checkbox of macrocategory and one checkbox of microcategory selected for the form it's valid.
My form in the page htm:
Expand|Select|Wrap|Line Numbers
- <form.... >
- <input type="checkbox" name="A" value="A">A
- <input type="checkbox" name="IN" value="IN">IN<br>
- <input type="checkbox" name="IS" value="IS">IS<br>
- <input type="checkbox" name="PA" value="PA">PA<br>
- <input type="checkbox" name="M" value="M">M
- <input type="checkbox" name="IN" value="IN">IN<br>
- <input type="checkbox" name="IS" value="IS">IS<br>
- <input type="checkbox" name="PA" value="PA">PA<br>
- <input type="checkbox" name="T" value="T">T
- <input type="checkbox" name="IN" value="IN">IN<br>
- <input type="checkbox" name="IS" value="IS">IS<br>
- <input type="checkbox" name="PA" value="PA">PA<br>
- </form>