A simple question: the function of a 'Cancel' (or 'Previous')submit button on a form is simply to leave the page and go to another one without doing anything with the data in the form
What happens is that binding occurs even though logically the data in the form is to be ignored completely.
An example of this in our case where we have registered a Date custom editor.
Suppose a user enters 'abc' in the Date field and then presses Cancel in order to leave the page without storing anything previously entered. Binding will occur before we can effectively process the Cancel button, but the binder will result in an error that is shown to the user. And that is not what a user expects when he presses Cancel !
What is your experience with this ?


Reply With Quote