HighDots Forums  

Re: radio button question

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Re: radio button question in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: radio button question - 03-26-2008 , 11:03 AM






William Gill wrote:
Quote:
Beauregard T. Shagnasty wrote:

Yes. You still need to test in the action script.

Or in the cgi that processes the data, but I have to do that anyway.



Why can't you simply use two buttons, with neither hidden and neither
selected as "checked"? Such as:

Per the spec (html401 17.2.1 Control types),
"At all times, exactly one of the radio buttons in a set is checked. If
none of the <INPUT> elements of a set of radio buttons specifies
`CHECKED', then the user agent must check the first radio button of the
set initially."

In the past I have had problems with different browsers complying to
varying degrees, and I don't want an inadvertent default to give me
permission the used didn't intend.
Drop list box? Ain't pretty but would satisfy your situation

<select name="permission">
<option value="">Please Select</option>
<option value="ayup">Yes</option>
<option value="nope">No</option>
</select>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.