[Seaside] Cancel Button
Philippe Marschall
philippe.marschall at gmail.com
Wed Jul 20 17:10:50 UTC 2011
2011/7/9 Robert Sirois <watchlala at hotmail.com>:
> The (WACancelButtonTag) cancel button in a form with required fields (html
> 5) still requires the fields to be filled out when canceling hehe. Is this
> normal?
You mean the browser still validates them? Well it's kinda expected.
There is no cancel button in HTML so we just use a normal one and do
callback trickery. Unfortunately the browser doesn't know about this.
A possible fix might to to set the novalidate property on the form
when the button is pressed.
Cheers
Philippe
More information about the seaside
mailing list