JavaScript treat multiple checkboxes as an array, but a single checkbox is not an array. A quick goggle didn't turn me a up with an example but there should be plenty of examples out there of checking for this with JS.
You can also take what I consider to be an easier way out, using CF to push down a different script depending on how many boxes you are going to have. -----Original Message----- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 4:08 PM To: CF-Talk Subject: SOT: checkbox validation problem I'm having a problem with a javascript validation for a form with multiple checkboxes with the same name. The validation works just fine when there is more than one checkbox (as with a results set with more than one item) however, if there is only one checkbox, it always validates to false and craps out. Any suggestions would be most appreciated. thx, larry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212462 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

