Miscellaneous
hiddenFieldTag()
Signature
Section titled “Signature”hiddenFieldTag() — returns any
Description
Section titled “Description”Builds and returns a string containing a hidden field form control based on the supplied name. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | See documentation for textFieldTag. |
value | string | yes | — | See documentation for textFieldTag. |
Examples
Section titled “Examples”<!--- Basic usage usually involves a `name` and `value` --->
<cfoutput>
#hiddenFieldTag(name="userId", value=user.id)#
</cfoutput>