[thelist] JavaScript form validation - do all radio groups haveaselection checked?

Joshua Olson joshua at waetech.com
Mon Aug 1 14:32:51 CDT 2005


> -----Original Message-----
> From: Canfield, Joel
> Sent: Monday, August 01, 2005 2:54 PM
> 
> > There may be an error here:
> > 
> > > 	alert("out of the script")
> > > return true
> > > }
> 
> Why?

I was thinking because of the lack of semicolon after the alert.

> > Also, there may be a non-syntactical error here:
> > 
> > > 	myWholeFormArray = document.theForm.elements
> > > 	for (a = 0; a < myArray.length; a++
> > 
> > The array you defined is different than the array specified 
> > in the loop.
> 
> d'oh. a lot. thanks. that helped.

You're welcome.

<><><><><><><><><><>
Joshua L. Olson
WAE Tech Inc.
http://www.waetech.com/
Phone: 706.210.0168 
Fax: 413.812.4864

Monitor bandwidth usage on IIS6 in real-time:
http://www.waetech.com/services/iisbm/




More information about the thelist mailing list