Hi,
Try with below java script code. Call a java script function b4 u submit the form
and there u can set the check box values.
/*
for(var i=0;i<4;i++){
if(document.form.elements[i].checked==true)
document.form.elements[i].value="Y";
else {
do
Shamshad Alam
<[EMAIL PROTECTED]To: [EMAIL PROTECTED]
.IN> cc:
Sent by: A Subject: Reading Check Boxes
mailing list
ROTECTED]>
Sent: Monday, July 08, 2002 3:40 AM
Subject: Reading Check Boxes
> Dear All Hi-Tech-Minds
> I am using 3 checkboxes in an HTML form and initially all are checked with
> values "Y". A JSP page reads these values by using
> ' String Array[] = rquest
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 07, 2002 12:40 PM
Subject: Reading Check Boxes
> Dear All Hi-Tech-Minds
> I am using 3 checkboxes in an HTML form and initially all are checked
with
> values "Y". A JSP page reads these values by using
> ' String A
Dear All Hi-Tech-Minds
I am using 3 checkboxes in an HTML form and initially all are checked with
values "Y". A JSP page reads these values by using
' String Array[] = rquest.getParameterValues("Checks") '
When all the checkboxes are checked the array contains 3 elements whose
values are all "Y" .