form validation with radio butoon

This is a discussion on "form validation with radio butoon" within the JavaScript Forum section. This forum, and the thread "form validation with radio butoon are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 19th, 2007, 03:31
New Member
Join Date: Feb 2007
Location: Cebu City Philippines
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
form validation with radio butoon

hi i am using the following script to validate if a user did choose from the radio button
if ( (valfield[0].checked == false )
&& (valfield[1].checked == false ))
{
msg (infofield, "warn", "Please choose from property inclusion");
return false;}

this script works using Onsubmit handler which validates the form all together, but i also wants to use line validation i am confuse where to put the onchange handler. PLEASE HELP
Reply With Quote

Reply

Tags
radio button problem

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] large radio button form submit chriscant JavaScript Forum 7 Oct 25th, 2007 09:03
redirecting form based on radio button values c_martini JavaScript Forum 7 Oct 9th, 2007 10:26
How do i submit a form with radio buttons ? Accurax Web Page Design 5 May 12th, 2007 18:34
Help needed with creating a radio button form sing2trees PHP Forum 1 Nov 13th, 2006 05:52
problem with radio button in form validation augustus_emperor JavaScript Forum 1 Apr 22nd, 2004 13:08


All times are GMT. The time now is 23:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43