Miscellaneous
submitTag()
Signature
Section titled “Signature”submitTag() — returns any
Description
Section titled “Description”Builds and returns a string containing a submit button form control. 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 |
|---|---|---|---|---|
value | string | yes | Save changes | Message to display in the button form control. |
image | string | yes | — | File name of the image file to use in the button form control. |
disable | any | yes | — | Whether or not to disable the button upon clicking. (prevents double-clicking.) |
prepend | string | yes | — | See documentation for textField |
append | string | yes | — | See documentation for textField |
Examples
Section titled “Examples”<cfoutput>
#startFormTag(action="something")#
<!--- form controls go here --->
#submitTag()#
#endFormTag()#
</cfoutput>