homepage Welcome to WebmasterWorld Guest from 54.166.159.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
HTML Forms - Radio Buttons
Hot to make them nonselectable
wfernley

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 11800 posted 2:35 pm on Feb 21, 2006 (gmt 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

 

Edouard_H

10+ Year Member



 
Msg#: 11800 posted 2:48 pm on Feb 21, 2006 (gmt 0)

DISABLED eg

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

Robin_reala

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 11800 posted 3:35 pm on Feb 21, 2006 (gmt 0)

Or if you're using XHTML:

<input type="radio" disabled="disabled" />

wfernley

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 11800 posted 5:13 pm on Feb 21, 2006 (gmt 0)

Hey thats what I'm looking for!

Thanks again for your help! :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved