WOHiddenField
Synopsis
WOHiddenField { [ name = fieldName;]
value = defaultValue;
[disabled =YES|NO;] ... };
Description
A WOHiddenField adds hidden text to the HTML page. It corresponds to the HTML element <INPUT TYPE="HIDDEN"...>. Hidden fields are sometimes used to store application state data in the HTML page. In WebObjects, the WOStateStorage element is designed expressly for this purpose.
- name
-
A name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.
- value
-
Sets the value for the hidden text field.
- disabled
-
If disabled evaluates to YES, the element appears in the page but is not active.
Examples