Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Check box array - July 07, 1998 at 15:48:40

You are here: irt.org | BBS | Check box array [This BBS is closed]

Posted by Suri on July 07, 1998 at 15:48:40:

In Reply to: Re: Check box form validation posted by Pat on July 01, 1998 at 11:18:53:

Here is my problem. My HTML is generated dynamically (CGI/Perl, Oracle). So depending upon the data, I could have one checkbox or several checkboxes, but in my onClick validation function, I loop thru checkbox array to see which checkboxes are checked and based on that I do something. But when there is only one checkbox (only one row retrieved from database), Javascript complains that 'Document.Form.Input[0]' does not have property 'value'. Is there any generic way to solve this problem. Greatly appreciate any help. Thanks.

-Suri
Follow-ups:

You are here: irt.org | BBS | Check box array [This BBS is closed]

©2018 Martin Webb