Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Are the Values Submitted on Checkbox Fields
What Are the Values Submitted on Checkbox Fields? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields
✍: FYIcenter.com
A "checkbox" input field does not allow viewers to enter any input values directly. If a form is submitted, "checkbox" input fields will be submitted with values based on the following rules:
If you use the previous tutorial example, you can test the following cases:
1. If you check all the checkboxes and click the submit button, you will get the following values submitted:
http://localhost/submit?check1=on&check2=css&check3=php
2. If you check only the first and third checkboxes and click the submit button, you will get the following values submitted:
http://localhost/submit?check1=on&check3=php
3. If you check only the third checkboxes and click the submit button, you will get the following values submitted:
http://localhost/submit?check3=php
2007-05-12, 5181👍, 0💬
Popular Posts:
.NET INTERVIEW QUESTIONS - Where do you specify session state mode in ASP.NET ? The following code e...
What does XmlValidatingReader class do? XmlTextReader class does not validate the contents of an XML...
What's the difference between J2SDK 1.5 and J2SDK 5.0? There is no difference, Sun Microsystems just...
What is difference between custom JSP tags and JavaBeans? Custom JSP tag is a tag you defined. You d...
Is Session_End event supported in all session modes ? Session_End event occurs only in “Inproc mode”...