You add two different submit buttons in the HTML and label them different.
Then for each one you run the different save business logic inside their own
onSubmit() methods.
There is nothing preventing you from submitting a form from different submit
buttons.
~ Thank you,
Paul Bors
You can show a ModalDialog via Ajax or use a JavaScript-only solution.
Sven
On 09/10/2013 02:58 PM, Richard W. Adams wrote:
I need to create a Cancel button that warns the user about saved data on a
form before leaving the page. Thus, I can't call setDefaultFormProcessing
(false), since that