submitTag()
Description
Builds and returns a string containing a submit button form control.
Function Syntax
submitTag([ value, image, disable ])
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
value |
string |
No | Save changes |
Message to display in the button form control. |
image |
string |
No | |
File name of the image file to use in the button form control. |
disable |
any |
No | |
Whether to disable the button upon clicking (prevents double-clicking). |
Examples
!--- view code --->
<cfoutput>
#startFormTag(action="something")#
<!--- form controls go here --->
#submitTag()#
#endFormTag()#
</cfoutput>
