Builds and returns a string containing a button form control.
Name | Type | Required | Default | Description |
---|---|---|---|---|
content | string | No | Save changes | Content to display inside the button. |
type | string | No | submit | The type for the button: button, reset, or submit. |
value | string | No | save | The value of the button when submitted. |
image | string | No | File name of the image file to use in the button form control. | |
disable | any | No | Whether or not to disable the button upon clicking (prevents double-clicking). | |
prepend | string | No | See documentation for textField | |
append | string | No | See documentation for textField |
<!--- view code ---> <cfoutput> #startFormTag(action="something")# <!--- form controls go here ---> #buttonTag(content="Submit this form", value="save")# #endFormTag()# </cfoutput>