Return to v1.4.5 docs

submitTag()



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.

Name 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 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
<cfoutput>
    #startFormTag(action="something")#
        <!--- form controls go here --->
        #submitTag()#
    #endFormTag()#
</cfoutput>