Explaining Hidden Data Fields


Hidden fields are similar to text fields, with one very important difference!

The difference is that the hidden field does not show on the page. Therefore the visitor can’t type anything into a hidden field, which leads to the purpose of the field:

To submit information that is not entered by the visitor.


SETTINGS:

Below is a listing of valid settings for hidden fields:

HTMLEXPLANATIONEXAMPLE
hidden
  name=
  value=

Hidden field
Name of the field.
Value of the field.

 

The name setting adds an internal name to the field so the program that handles the form can identify the fields.

The value setting defines what will be sent once the form is submitted.



Now go forth and make your websites great!