RE: Cancel Button Conundrum

2013-09-10 Thread Paul Bors
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

Re: Cancel Button Conundrum

2013-09-10 Thread Sven Meier
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