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, 5405👍, 0💬
Popular Posts:
How do we access attributes using “XmlReader”? Below snippets shows the way to access attributes. Fi...
I have 5 questions please give me the answer ,explanation,suggestions if any?? what is PMP(project m...
What is NullPointerException and how to handle it? When an object is not initialized, the default va...
How To Wirte a Simple JUnit Test Class? This is a common test in a job interview. You should be able...
How To Delete All Rows a Table? - MySQL FAQs - Understanding SQL INSERT, UPDATE and DELETE Statement...