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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. org.apache.jasper.JasperException: An exception oc
View Tutorial By: manikanta at 2015-02-02 05:39:09
2. this tutorial is very nice but if it contains more
View Tutorial By: JOHN.J at 2007-11-29 23:56:06
3. How to execute all these 5 files plz tell me step
View Tutorial By: Umesh Kamankar at 2011-03-19 10:56:29
4. its good and well performance
View Tutorial By: siva.c at 2014-09-02 08:18:19
5. hello sir , i m student of mca . i am working on S
View Tutorial By: Pallavi at 2013-04-06 13:53:54
6. How to connect a webpage(which I have created for
View Tutorial By: sam at 2012-01-24 10:10:52
7. I want get data from Mysql into Spinner by using P
View Tutorial By: Pravin at 2013-01-05 13:36:11
8. when i copy paste your program or source code
View Tutorial By: hello at 2010-07-09 18:56:23
9. Hi,
Even if the while loops (in Producer an
View Tutorial By: Pranay at 2012-09-19 19:08:45
10. Hei Kaify What is this????
if we get knowle
View Tutorial By: Sooraj A.S at 2011-08-26 14:12:36