Forms - Hidden

Section 1 - Introduction
Section 2 - Basics
Section 3 - Next Level
Section 4 - Advanced
      Forms
         How forms are sent
         Input field
         Buttons
         Input types
         Fieldset
         For more help...
         You try it
      Advanced Tables
      Frames
      Style Sheets
      Image Maps
Section 5 - Publishing
Section 6 - Extras
Appendices
Hidden:
There is a tag found in forms that the user can't see. What if you wanted to knkow which page the message was coming from? It would be a pain for the user to type it in every time. An easier way is to make a hidden field.

A hidden field is easy enough to make.
<input type="hidden" name="page" value="D23e">
You probably don't have much use for this now, but know that it exists. You can send a message back to yourself with every form sent to you.

Code
<form method="POST" action="mailto:myaddress@mail.com">
<input type="text" name="person" size="10"> Name<br>
<input type="hidden" name="Attention" value="This person is dumb">
<input type="submit" value="Talk to me"> <br>
<INPUT TYPE=RESET value="Clear it">

</form>
What you see
Name



  1. Text
  2. Checkboxes
  3. Radio Buttons
  4. Passwords
  5. Hidden
  6. File
  7. Image
  8. Textarea
  9. Select and Option
Back Home Forward