Welcome to WebmasterWorld Guest from 54.144.243.34

Forum Moderators: incrediBILL

HTML Forms - Radio Buttons

Hot to make them nonselectable

   
2:35 pm on Feb 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey I was curious if there is a way to make a radio button appear in a form but make it so the user cannot select it. I know for input boxes you put readonly="true" this does not work for radio buttons.

What is the attribute to add to the radio buttons so the user cannot select them?

Thanks in advance for your help!

Wes

2:48 pm on Feb 21, 2006 (gmt 0)

10+ Year Member



DISABLED eg

<INPUT TYPE="RADIO" NAME="name" VALUE="value" DISABLED>

3:35 pm on Feb 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or if you're using XHTML:

<input type="radio" disabled="disabled" />
5:13 pm on Feb 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey thats what I'm looking for!

Thanks again for your help! :)

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month