Miscellaneous
hiddenField()
Signature
Section titled “Signature”hiddenField() — returns any
Description
Section titled “Description”Builds and returns a string containing a hidden field form control based on the supplied objectName and property. 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 |
|---|---|---|---|---|
objectName | any | yes | — | See documentation for textField. |
property | string | yes | — | See documentation for textField. |
association | string | yes | — | See documentation for textfield. |
position | string | yes | — | See documentation for textfield. |
Examples
Section titled “Examples”<!--- Provide an `objectName` and `property` --->
<cfoutput>
#hiddenField(objectName="user", property="id")#
</cfoutput>