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
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
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
MultiLevel Inheritance sample in Java
Archived Comments
1. very simple example.....................
View Tutorial By: kajal at 2015-08-22 09:28:16
2. Good Explanation of code. But object declaration i
View Tutorial By: Nitesh at 2011-12-28 12:37:09
3. i am developing a video streaming PC server to j2m
View Tutorial By: Jamsiya at 2011-08-11 05:07:01
4. thankyou
View Tutorial By: gomu at 2014-07-08 09:19:13
5. can i add new language for my freetts project ? I'
View Tutorial By: [email protected] at 2011-08-09 06:49:52
6. Dear any buddy i use Nokia N73 and connect with Bl
View Tutorial By: zstranger at 2012-03-29 07:47:02
7. Hi, you put a semicolon after "int main()&quo
View Tutorial By: noel4037 at 2009-12-28 06:40:17
8. very good example..
View Tutorial By: vignesh.m at 2010-06-16 05:00:02
9. cool!!!
can you show me some sample
View Tutorial By: eduard jacob bernido at 2008-07-14 04:01:59
10. really helpul........
pls mail me some more
View Tutorial By: shivani at 2010-07-17 01:47:30