Cancel Action

6 views
Skip to first unread message

Rawlins

unread,
Nov 9, 2011, 4:55:35 AM11/9/11
to cfunifo...@googlegroups.com
Hello Guys,

I see in a large number of the demo's that there is a 'cancelAction' attribute to the form.

I've looked at the demo's and implemented it myself but I can't for the life of me figure out what it's meant to be doing?

I expected it to add a 'go back' or 'cancel' link next to the submit button, but it doesn't appear to do so.

Any help would be appreciated.

Robert

Curt Gratz

unread,
Nov 9, 2011, 11:00:18 AM11/9/11
to cfunifo...@googlegroups.com

Here are all the cancel related attributes.  The cancel action is used to redirect the form to wherever is specified.

 

@showCancel                   Optional (boolean)      Indicates whether or not to show a 'Cancel' button.  Defaults to true.

@cancelValue                  Optional (string)       The text to show on the 'Cancel' button.  Defaults to ' Cancel '.

@cancelAction                 Optional (string)       The URL that JavaScript will direct the browser to if the 'Cancel' button is clicked. Can be a full URL (e.g. 'http://www.domain.com/index.cfm') or a file (e.g. 'index.cfm').

If not provided, or is an empty string, the form will be submitted normally. Defaults to an empty string.

 

Hope that helps,
Curt Gratz

--
You received this message because you are subscribed to the Google Groups "cfUniForm-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cfuniform-users/-/q2COfycuxCEJ.
To post to this group, send email to cfunifo...@googlegroups.com.
To unsubscribe from this group, send email to cfuniform-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfuniform-users?hl=en.

Reply all
Reply to author
Forward
0 new messages