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
Â
⇒HTML Forms and Input Fields
⇒⇒HTML Tutorials
2017-04-08, 1093👍, 0💬
Popular Posts:
How To Add Column Headers to a Table? If you want to add column headers to a table, you need to use ...
What Azure AD App Registration Manifest? Azure AD App Registration Manifest is JSON file that contai...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How to use the "send-request" Policy statement to call an extra web service for an Azure API service...
How to use the "rewrite-uri" Policy Statement for an Azure API service operation? The "rewrite-uri" ...