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, 5198👍, 0💬
Popular Posts:
How To Recover a Dropped Index? - Oracle DBA FAQ - Managing Oracle Table Indexes If you have the rec...
What Are Data Pump Export and Import Modes? - Oracle DBA FAQ - Loading and Exporting Data Data pump ...
How To Recover a Dropped Index? - Oracle DBA FAQ - Managing Oracle Table Indexes If you have the rec...
If client side validation is enabled in your Web page, does that mean server side code is not run? W...
What is the difference between RegisterClientScriptBloc kand RegisterStartupScript? RegisterClientSc...