How do I set radio buttons as select one or all

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My website is littlesaigonmarket.com and I need to set up my radio buttons on
my menu ordering form as an optional select one to all buttons. This option
is for when the customer wishes to select more than one item.
 
Use checkboxes, not radio-buttons.

Checkboxes are for choosing none, one or many from a selection.
Radio-buttons are for choosing one from a selection.
 
Optionally he could always create another button with *all of the above*.
 
radio buttons are by their nature a "select one or the other" type - where the
"group name" is the same

eg

<input type="radio" name="group1" value="option1">
<input type="radio" name="group1" value="option2">

etc

If you want to have it so you can choose one or many options, use the checkbox
input type.

even if you name your radio buttons different "names" you can 'check' them but no
'uncheck' if you change your mind over which option you want, whereas checkboxes
are designed as "check" and "uncheck" actions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top