vendredi 8 mars 2019

Uncheck all checkboxes if "Other" checkbox is checked and get value

So, I have 4 checkboxes:

  1. Heating
  2. AC
  3. Cold Chain
  4. Others

The condition is, you can multiple check the three: Heating, AC, and Cold Chain. But when you check on "Other", the three will be unchecked. And when you check again on any of the three, the Other checkbox will be unchecked.

When the Others is checked, a "Please specify" input text will appear.

And in the summary, Looking for solutions in Others - [value]

See my fiddle: https://jsfiddle.net/ex8kuo5m/4/

Thank you so much!!




Aucun commentaire:

Enregistrer un commentaire