Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Forms > <INPUT ...> > TYPE

TYPE = HIDDEN

HIDDEN indicates that the field is invisible and the user never interacts with it. The field is still sent to the CGI, and scripts can also use the hidden field. HIDDEN is commonly used as output of a CGI which creates a new form for more input. For example, a web site which facilitates online discussions may use a hidden field to keep track of which message is being responded to:

<H2>Your Reply</H2>
<FORM METHOD=POST ACTION="../cgi-bin/html/mycgi.pl">
<INPUT TYPE=HIDDEN NAME="postingID" value="98765">
name: <INPUT NAME="realname" SIZE=30><BR>
email: <INPUT NAME="email"><BR>
subject: <INPUT NAME="subject" VALUE="Re: Hamlet and hesitation" SIZE=30>
<P>
comments:<BR>
<TEXTAREA NAME="comments" COLS=50 ROWS=10 WRAP=VIRTUAL>
Joe Smiley wrote:
: I think Hamlet doesn't act because if he does, the play's over.
</TEXTAREA>
<P><INPUT TYPE=SUBMIT VALUE="Send It!">
</FORM>

which gives us

Your Reply

name:
email:
subject:

comments:

TYPE=SUBMIT >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com