[thelist] Hidden Fields

Walker, Matthew Matthew.Walker at cdc.org.nz
Wed Jul 12 16:27:27 CDT 2000


> I have often seen references to hidden fields & I'm ashamed to admit I
> haven't got a clue what they are about or their uses. Could 
> someone possibly
> point me in the direction of any good tutorials about them please. And
> thanks for the answer about the "pl" extension.

These are very easy. Just like a text field only nothing shows up on screen.
You would use them for info you want to pass along but don't want to bother
the visitor about. You could use them where you have a multi-page form and
in cases where you might be bringing information with you into the form page
(e.g. if I have a directory with multiple topics, and an "Add your Site"
link at the bottom of each, a hidden field might carry the topic the data
should be entered into). You also use them when you employ a generic form
handler script. There will be fields for recipient, follow-up page, etc.

<input type="hidden" name="ID" value="1065">

Regards,
Matthew Walker





More information about the thelist mailing list