Tools, FAQ, Tutorials:
Values Submitted in HTML Submit Button Fields
What Are the Values Submitted on Submit Button Fields?
✍: FYIcenter.com
A "submit" button input field does not allow viewers to enter any input values directly.
But if a form is submitted, "submit" button 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 push the first submit button, you will get the following value submitted:
http://localhost/submit?channel=google
2. If you push the second submit button, you will get the following values submitted:
http://localhost/submit?channel=google
3. If you push the third submit button, you will get the following values submitted:
http://localhost/submit?channel=google&action=Submit
4. If you push the forth submit button, you will get the following values submitted:
http://localhost/submit?channel=google&action=Cancel
⇒ Using HTML 'reset' Action Fields
2017-04-08, ∼1809🔥, 0💬
Popular Posts:
Where to find tutorials on Using Azure API Management Developer Portal? Here is a list of tutorials ...
How To Change Text Fonts for Some Parts of a Paragraph? If you want to change text fonts or colors f...
How To Loop through an Array without Using "foreach" in PHP? PHP offers the following functions to a...
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
What is EPUB 3.0 Metadata "dcterms:modified" property? EPUB 3.0 Metadata "dcterms:modified" is a req...