Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
WebSpeed API Reference : hidden-field
 

hidden-field

This function returns an HTML hidden field with the name and value encoded with HTML entities. The output is in the following format:
<INPUT TYPE="HIDDEN" NAME="encoded-field-name" VALUE="encoded-field-value">

Location

web\method\cgiutils.i

Parameters

INPUT p_name AS CHARACTER
Name of field to set in the NAME attribute. Any legal HTML name can be used.
INPUT p_value AS CHARACTER
Value to set in the VALUE attribute.

Returns

CHARACTER

Notes

None

Examples

See the hidden-field-list function in web\method\cgiutils.i.

See also

hidden-field-list
html-encode