Forum Moderators: open

Message Too Old, No Replies

radio buttons in asp

         

Blelisa

5:09 pm on Oct 3, 2005 (gmt 0)

10+ Year Member



I have a asp page that gathers user input with a form.
I want to have four radio buttons on my form, and give the user the ability to check all the buttons or none of the buttons and everything in between. I need help figuring out how to put this info into my database.

Thanks for any help in advance.

mrMister

6:10 pm on Oct 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That would trhow ustability out of the window. My advice is to stick to standards and use checkboxes.

Blelisa

6:21 pm on Oct 3, 2005 (gmt 0)

10+ Year Member



I'm sorry I don't follow. What would throw out the usability, radio buttons? What standards are you referring to?
Thanks

TheNige

8:03 pm on Oct 3, 2005 (gmt 0)

10+ Year Member



Radio buttons are most often only used when you want to have the user chose 1 option out of many.

Check boxes are most often used to allow the user to chose 1 or more selection out of many options.

mrMister

8:34 pm on Oct 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What standards are you referring to?

Windows app guidelines, Mac app guidelines, take your pick of any guidelines that acommodate the use of radio buttons, they won't recommend using them the way you're using them.

You can find more information at:

[useit.com...]

Easy_Coder

12:20 am on Oct 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Think of the Philco Radio, remember those? You had to mash in 1 button to listen to a particular radio station. Only one can be mashed-in at a time.

Web radio buttons work the same way... this one but not that one.

The suggestion for checkboxes is the way to go.

As far as getting it into the database just post your form and check the values to see if they are 'checked' or not. Those that are can be saved to the database.