Welcome to WebmasterWorld Guest from 54.167.110.211

Forum Moderators: incrediBILL

Message Too Old, No Replies

HTML Forms - Radio Buttons

Hot to make them nonselectable

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 25, 2003
posts:664
votes: 0


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)

Full Member

10+ Year Member

joined:Oct 9, 2002
posts:245
votes: 0


DISABLED eg

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

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 26, 2004
posts:1497
votes: 0


Or if you're using XHTML:

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 25, 2003
posts:664
votes: 0


Hey thats what I'm looking for!

Thanks again for your help! :)

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members