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, 5239👍, 0💬
Popular Posts:
Can static variables be declared in a header file? You can't declare a static variable without defin...
How To Test Transaction Isolation Levels? - MySQL FAQs - Transaction Management: Commit or Rollback ...
Assuming that the structure of a table shows two columns like this: --------+------------+-- ----+---...
How do we assign page specific attributes ? Page attributes are specified using the @Page directive.
How To Set session.gc_divisor Properly? - PHP Script Tips - Understanding and Using Sessions As you ...