|
Posted by Jonathan N. Little on March 26, 2008, 12:03 pm
Please log in for more thread options William Gill wrote:
> 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
|