Radio buttons vs drop down menu

  • Thread starter Thread starter Tessa Ford
  • Start date Start date
T

Tessa Ford

I have created a form for a competition and originally I
wanted to use check boxes beside each word to check what
the visitor thinks is the correct answer.

But because you seem to be able to select one or all check
boxes, this isn't good as only one correct answer is
needed.

Should I really use the drop down field instead ie, Please
Select, then a list of the possible answers underneath, so
that they can only click on one?
 
Either will accomplish your goal.

Use radio buttons, where you assign a group name, then for each button enter
the answer.

or

Use the drop down menu.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Okay, how do I go about using the radio button method when
say, I have one question with three possible answers with
a radio button beside each. What do I enter in the Group
Name and Value? And how is the Group Name going to
diffentiate with the other two possible answers?

Obviously, what I want is in the email results, to show
what answer the submitter has selected etc.

You see, seeing the answers is probably better than having
the drop down menu to make them look for the possibilities.
 
Did you look at the example?

<input type="radio" name="group1" value="Milk"> Milk<br>
<input type="radio" name="group1" value="Butter" checked> Butter<br>
<input type="radio" name="group1" value="Cheese"> Cheese
<hr>
<input type="radio" name="group2" value="Water"> Water<br>
<input type="radio" name="group2" value="Beer"> Beer<br>
<input type="radio" name="group2" value="Wine" checked> Wine<br>
 
Thanks for that Kathleen. I understand all that but I
just need to know if it shows any of the values checked on
outset? As obviously, we don't want any of them checked,
only when the person entering the competition checks what
they think is the right answer.
-----Original Message-----
Did you look at the example?

<input type="radio" name="group1" value="Milk"> Milk<br>
<input type="radio" name="group1" value="Butter" checked>
 
In this group:

<input type="radio" name="group1" value="Milk"> Milk<br>
<input type="radio" name="group1" value="Butter" checked> Butter<br>
<input type="radio" name="group1" value="Cheese"> Cheese

remove the word "checked" from the second line, so the group looks like
this:

<input type="radio" name="group1" value="Milk"> Milk<br>
<input type="radio" name="group1" value="Butter"> Butter<br>
<input type="radio" name="group1" value="Cheese"> Cheese

You may want to add some validation to make sure they select one entry.
 
Thanks for that. By the way, I'm trying to get a response
to my latest post about an error I am getting re a
discussion forum. Do you know anything about these? If
so, would you be able to reply to that query? I'm wanting
to get this sorted urgently if poss.
-----Original Message-----
In this group:

<input type="radio" name="group1" value="Milk"> Milk<br>
<input type="radio" name="group1" value="Butter" checked>
 
Back
Top