Page 1 of 1

Something about SELECT and RADIO

Posted: Thu Sep 08, 2011 11:44 pm
by JelvinJS7
To my knowledge, there is no difference between the <select> input and the "radio" input type as for how it works. They appear to achieve the same goal.
So I'm asking, is there any difference between the tags other than how the user selects the option? And how do you determine which one you use?

Re: Something about SELECT and RADIO

Posted: Thu Sep 08, 2011 11:48 pm
by jacek
Personally it would depend on how many options there are.

Selecting your country from a list of radio buttons would look crazy so for that I would us ea select.

In that same way that selecting a gender from a select would look a little odd with so few options.

Not sure on the official opinion though.

Re: Something about SELECT and RADIO

Posted: Fri Sep 09, 2011 12:42 am
by JelvinJS7
jacek wrote:Personally it would depend on how many options there are.
JelvinJS7 wrote:how do you determine...
I meant you guys.

So it is the same basically?

Would you say that if it's 2 options, then radio, 3-5 either, and 6+ select would be a good method?

Re: Something about SELECT and RADIO

Posted: Sat Sep 10, 2011 12:51 pm
by jacek
JelvinJS7 wrote:Would you say that if it's 2 options, then radio, 3-5 either, and 6+ select would be a good method?
Sounds about right to me. It depends on the layout of the page too I guess, if you have a form with a huge list of selects and then a gender option, it might look weird to use a radio for that.