Comment on Tutorial - FAQ: Why are my checkboxes not being set from ON to OFF? By Apache Foundation



Comment Added by : Stray

Comment Added at : 2010-01-05 08:07:47

Comment on Tutorial : FAQ: Why are my checkboxes not being set from ON to OFF? By Apache Foundation
You can also include a hidden field of the same name preceding the checkbox. Assign this field the opposite value as the checkbox. If the checkbox is checked upon submission, the checkbox value is sent, otherwise the preceeding value is sent.

<INPUT TYPE=HIDDEN NAME=ENABLED VALUE=0>
<INPUT TYPE=CHECKBOX NAME=ENABLED VALUE=1> // We display enabled twice in order to pass the correct value even when not checked


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. I am very much thankfull to you in providing the c
View Tutorial          By: c vijaychandar at 2010-05-05 10:14:59

2. Hi Ramlak,
Am getting
Sat Jan 17 13

View Tutorial          By: Shiv Kumar at 2009-01-17 02:01:01

3. I went befly through this, it is woderful, usefull
View Tutorial          By: Mallikarjuna.N at 2009-11-28 11:41:58

4. Looks good. This is going to be a good resource.
View Tutorial          By: Brainpower at 2013-03-02 02:45:11

5. I am not able to open the rar file, can you please
View Tutorial          By: Chandra at 2008-08-07 10:35:59

6. thanks for ur j2me discription.....
View Tutorial          By: sivaguru at 2009-12-15 05:13:32

7. these tutorials are very simple to understand. I
View Tutorial          By: sagar at 2009-05-09 23:31:01

8. I came to know about the basic concepts here but I
View Tutorial          By: Amit Gorvadiya at 2015-09-23 06:18:37

9. That was very nice yaar.
View Tutorial          By: sana at 2014-02-21 09:20:34

10. A precise one. This is how I would like to see exa
View Tutorial          By: Guna at 2010-10-14 03:24:34