Skip to content

neokoenig/cfwheels-js-disable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Disable - CFWheels Plugin

Adds a disable argument to submitTag(), buttonTag() and buttonTo() that disables the button so it can't be double-clicked.

Usage Examples

#startFormTag()#
  #submitTag(value="Purchase", disable=true)#
#endFormTag()#
#startFormTag()#
  #buttonTag(content="Purchase", disable="Please wait...")#
#endFormTag()#
#buttonTo(text="Delete", action="deleteIt", disable="Please wait...")#