Creating Forms > About form fields > Creating a hidden field

 

Creating a hidden field

Hidden fields aren't visible to your site visitors, they are invisible elements you place in a document to gather or send information. The hidden field information is passed back to the server when a form is submitted, and uses the name and value pair you define when you set up the hidden field.

Dreamweaver adds a marker in the document when you insert a hidden field. If you insert a hidden field and don't see a marker, choose View > Visual Aids > Invisible Elements to reveal the marker.

To create a hidden field:

1 Place the insertion point inside the form outline, then do one of the following:
Choose Insert > Form Object > Hidden Field.
In the Objects panel's Forms category, click the Insert Hidden Field icon.
A marker appears in the document.
2 In the Property inspector's HiddenField field, type a unique name for the field.
3 In the Value field, type the value you want to assign the field.