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.
Name | Type | Required | Default | Description |
---|---|---|---|---|
objectName | any | Yes | See documentation for textField. | |
property | string | Yes | See documentation for textField. | |
association | string | No | See documentation for textfield. | |
position | string | No | See documentation for textfield. |
<!--- Provide an `objectName` and `property` ---> <cfoutput> #hiddenField(objectName="user", property="id")# </cfoutput>