homepage Welcome to WebmasterWorld Guest from 23.22.128.96
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
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




msg:599599
 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




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

DISABLED eg

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

Robin_reala




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

Or if you're using XHTML:

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

wfernley




msg:599602
 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