Reputation: 141
I need to permit more than one selection, for example one user can choose the three options or only two or one: This only permit one, correct?:
<input type="radio" name="group1" value="Milk" class="semLargura" /> Milk <br />
<input type="radio" name="group1" value="Butter" class="semLargura" /> Butter <br />
<input type="radio" name="group1" value="Cheese" class="semLargura" /> Cheese <br />
This permits 3 options
<input type="radio" name="group1" value="Milk" class="semLargura" /> Milk <br />
<input type="radio" name="group2" value="Butter" class="semLargura" /> Butter <br />
<input type="radio" name="group3" value="Cheese" class="semLargura" /> Cheese <br />
But in this case, how i can delete a select? For example i choose Milk, Butter and Cheese, but i want to remove the Butter after selected. Something like reset button.
Upvotes: 0
Views: 3416
Reputation: 1630
Why don't you use checkboxes instead of radiobuttons? They work exactly the way you want...
Upvotes: 4