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, ∼2150🔥, 0💬
Popular Posts:
How to send an FTP request with the urllib.request.urlopen() function? If an FTP server supports ano...
What Is session_register() in PHP? session_register() is old function that registers global variable...
Tools, FAQ, Tutorials: JSON Validator JSON-XML Converter XML-JSON Converter JSON FAQ/Tutorials Pytho...
How To Move Uploaded Files To Permanent Directory in PHP? PHP stores uploaded files in a temporary d...
How to use 'choose ... when ..." policy statements to control execution flows? If you want to contro...