Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
What do you use type='hidden' in a form for?
Old 06-07-2008, 10:23 AM What do you use type='hidden' in a form for?
scutari's Avatar
Skilled Talker

Posts: 95
Name: Indrit
Trades: 0
I have encountered this several times but I am not sure what is it used for.
I googled it but didn't find a real answer that could explain something in detail.

Can anyone give suggestion what to read?
__________________

Please login or register to view this content. Registration is FREE
scutari is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-07-2008, 10:45 AM Re: What do you use type='hidden' in a form for?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Try reading this.. Google is your friend
http://www.echoecho.com/htmlforms07.htm
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-08-2008, 02:41 AM Re: What do you use type='hidden' in a form for?
RabidSniper's Avatar
Skilled Talker

Posts: 57
Name: Jesse
Location: Phoenix, AZ
Trades: 0
type="hidden" specifies that a Form element will not render to the browser.

Pretty useful when you want to pass around information using the HTTP POST method of a form. Since HTML was primarily designed as a display only markup, type="hidden" is the closest thing you can get to a variable that passes information in a programatic way without needing to display them on the screen as a textbox or whatever.

Hope that helps.
RabidSniper is offline
Reply With Quote
View Public Profile
 
Old 06-08-2008, 06:08 AM Re: What do you use type='hidden' in a form for?
scutari's Avatar
Skilled Talker

Posts: 95
Name: Indrit
Trades: 0
thanks for sharing, I have got idea but I want to provide an example later so that you could help to figure out what the hidden input does.
__________________

Please login or register to view this content. Registration is FREE
scutari is offline
Reply With Quote
View Public Profile
 
Old 06-08-2008, 07:38 AM Re: What do you use type='hidden' in a form for?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
it does exactly the same as any other form element, but you can't see it.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-08-2008, 10:13 AM Re: What do you use type='hidden' in a form for?
Experienced Talker

Posts: 33
Name: Rob
Trades: 0
'hidden' is often used in forms to hide properties from the front end user such as item number, customer codes, etc.
__________________

Please login or register to view this content. Registration is FREE
roje0913 is offline
Reply With Quote
View Public Profile
 
Old 06-08-2008, 01:31 PM Re: What do you use type='hidden' in a form for?
Arenlor's Avatar
Ultra Talker

Posts: 462
Name: Jerod Lycett
Location: /home/arenlor
Trades: 0
Remember, they can be messed with never the less.
__________________
PHP Code:
<?php echo "Hello World"?>
HTML Code:
<html><head><title>Hello World</title></head><body><p>Hello World</p></body></html>
Arenlor is offline
Reply With Quote
View Public Profile Visit Arenlor's homepage!
 
Old 06-08-2008, 03:06 PM Re: What do you use type='hidden' in a form for?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
As stated in that page I linked you to:

Quote:
the purpose of the [hidden] field:

To submit information that is not entered by the visitor.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What do you use type='hidden' in a form for?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.71326 seconds with 12 queries