Contact Our Development Team
Free Code Tutorials & Open Source Code
HTML Forms - Hidden Fields
Tutorials > HTML > Forms > Hidden
Hidden Form Fields
Hidden form fields act like any other form field when you are processing them, but in your form they are invisible to the user. These can be useful to pass information to another script which you have received, but do not want the user to see. Here's an example:
<input type="hidden" name="hiddenvalue" value="1" />
As you can see, the browser doesn't display anything when it encounters this input type, but you will receive the name-value pair from the field when you process the submitted form
Page Responses
Currently there have been no responses to this page...
If you have anything to contribute to this tutorial, found a bug, or know a better way of achieving the same goal, please leave your response below.
     
Copyright ©2009, Wired IDS Ltd. | Licensed under Creative Commons Attribution Share-Alike | Load time: 0.307 seconds