Creating Hidden Fields

Sometimes, you might need to include information with your form that shouldn’t be displayed to the visitor or left to the visitor to fill in. In these kinds of circumstances, you can use hidden fields, which do not display in the browser. Hidden fields are often used with server-side scripting when specific information is required for processing the form: for gathering the name, order number, or other relevant information about a product that is being purchased; to provide an e-mail address and a subject header if the form will be sent to e-mail; for including the URL of a page to which you want to redirect visitors after they have filled out your form; for passing information from one form to another; or for requiring ...

Get macromedia Dreamweaver 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.