Jacky!
<form name="f1" action="">
<input type="radio" name="sex" value="male">der Man<br>
<input type="radio" name="sex" value="female">die Frau<br>
<input type="submit" onclick="if (!f1.sex[0].checked && !f1.sex[1].checked)
{alert('put something!');return false} alert('submitting now....'); return
true;">
</form>
and group:
www.ozoneasylum.com
-elias
----- Original Message -----
From: ""Jacky"" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Friday, May 18, 2001 12:30 AM
Subject: [PHP] javascript group
Hi people
Does anyone outthere know any javascript mail list that I can subscribe to?
And also, just in case, does anyone know how can I validate a form that has
radio button to see if the radio button is checked before submit?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]