Month 3 Week 3

Simple Forms

Hidden Fields in Forms

You are just starting to create forms, so you may wonder why you'd want to have any hidden areas or information. There may come a time where you want a form to include the time or date stamp. You may want to get some basic information about the person who filled out the form - you can retrieve their OS, IP address, browser and more. Finally, you may want to have a multi-page form, where they fill out a little at a time. To do that, you'll need to use hidden fields.

It's very simple, just set the TYPE attribute of the <INPUT> tag like this - 

<INPUT TYPE=HIDDEN NAME="Private info" VALUE="whatever information you want to include but keep hidden from the visitor">

And that is it for this week! The new tags are on the tag page.

Tables are up next week!

©2003, Gnosis 4-H Club
The 4-H name and 4-H logo are service marks protected under 18 U.S.C. 707.

Questions? Comments? Problems? Contact the Webmaster!


Home