you need to put it in a javascript for or while loop, and check the formvalues as a ARRAY. (since checkboxes can be the same name for all the elements, javascript creates an array for this.) while in your for loop, if the condition meets, do such and such..
kenny -----Original Message----- From: Panayiotis Periorellis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: Check boxes Hello All, Can someone let me know how do we retrieve the value of a check box. How can I say in pseudo.. If (chekcbox C1 is checked) { Do this.... }// and if I would appreciate a response panos ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
