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, 1524🔥, 0💬
Popular Posts:
How to add request query string Parameters to my Azure API operation to make it more user friendly? ...
What is EPUB 3.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 3.0 Metadata "dc:publisher" ...
How To Set session.gc_divisor Properly in PHP? As you know that session.gc_divisor is the frequency ...
How to decode the id_token value received from Google OpenID Connect authentication response? Accord...
How To Access a Global Variable inside a Function? in PHP? By default, global variables are not acce...