Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
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, 5003👍, 0💬
Popular Posts:
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
How To Insert Multiple Rows with a SELECT Statement? - MySQL FAQs - Managing Tables and Running Quer...
How To Download and install PSP Evaluation? - PSP Tutorials - Fading Images to Background Colors wit...
How can method defined in multiple base classes with same name be invoked from derived class simulta...
How To Control Vertical Alignment? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells By d...