Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does input type="hidden" mean?

Status
Not open for further replies.

Beng79

Technical User
Jan 5, 2006
48
0
0
HK
Hi all,

<input type="hidden" name="FeatID" value="<% = rs("FeatID") %>

as of the code above, what is the meaning of input type="hidden"? When is it normally used in?

How is it different from input type="submit"?

Thank you
 
The hidden inputs are used to pass information to the script that processes the form where the data doesn't have to be visible to the person who filled out the form, like the address to redirect to, an return email address to send a confirmation of an order placed, any variety of data that the processing page uses that isn't for the client side user to interact with.

Lee
 
[red]Hidden[/red] is just that, hidden. a simple value that gets past with the form. but is not visible to the user filling in the form.

It has nothing to do with the [blue]Submit[/blue] type, which is a button that sends the form to be processed.

In all practicality, [green]<input type=hidden[/green].... is equivalent to having an [green]<input type=text[/green]... that the user can't see and can't change the value of.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top