Mike Burdick
05-24-2005, 10:33 PM
Is there some value I can use so that a radio group will come up without any of the values punched? I tried null and '''' but it just came up with the first one selected.
Thanks....
Thanks....
|
Click to See Complete Forum and Search --> : Default value for a radio group? Mike Burdick 05-24-2005, 10:33 PM Is there some value I can use so that a radio group will come up without any of the values punched? I tried null and '''' but it just came up with the first one selected. Thanks.... Mike Burdick 05-25-2005, 07:38 AM Never mind - I figured it out. Just use any value that is not one of the choices. Jeff Mott 05-25-2005, 08:28 PM The reason it is made difficult to do is because it is technically illegal to not have any radio button within a set checked. From the HTML specification, "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." http://www.w3.org/TR/html401/interact/forms.html#radio webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |