[thelist] JS Form validation - Radio buttons

CDitty mail at redhotsweeps.com
Thu Jun 21 22:39:26 CDT 2001


Oops.  That was supposed to be the other way around.   I need it to popup 
if the radio button is not selected.

Sorry about that.

Getting past my bed time.  :)

Chris

At 10:28 PM 6/21/2001, you wrote:
>chris,
>
>:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>: From: CDitty
>:
>: Can anyone tell me what is wrong with this function?
>:
>: [...]
>:
>: if(form.userid.unchecked == false)
>:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>there's no such property as "unchecked" for a radio button (there is in ie,
>but only as an expando property -- yummy).  you should try "checked"
>instead:
>
>if(form.userid.checked)
>
>good luck,
>
>.jeff
>
>http://evolt.org/
>jeff at members.evolt.org
>http://members.evolt.org/jeff/
>
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list