Ticket #563 (confirmed enhancement)
jforms : support of a cancel button
Description (last modified by laurentj) (diff)
A special submit button could be used, to cancel a form : it submits the form but jForms::fill could check if this is the cancel button to know if it should get or not all values. jFormsBase could have a method, isCancelled to know if the user has cancelled or not and so we can doing things in the controller like doing a redirection.
The button cancel could be declared in <submit> element, with a <item value="cancel">.
Change History
Note: See
TracTickets for help on using
tickets.
