[Seaside] Re: Cancel Button

Julian Fitzell jfitzell at gmail.com
Mon Jul 25 08:04:58 UTC 2011

On Mon, Jul 25, 2011 at 6:49 AM, Philippe Marschall
<philippe.marschall at gmail.com> wrote:
> 2011/7/25 Fritz Schenk <intrader.intrader at gmail.com>:
>> Robert Sirois <watchlala <at> hotmail.com> writes:
>>> Well, that's not really relevant. If you have a required field (html 5)
>> you'd think that cancelling would still work.RS> To: seaside <at>
>> lists.squeakfoundation.org>
>> I am puzzled at your 'not relevant' posting. In my opinion, when you cancel, the
>> fields should not be deemed required.
> There is no cancel button in HTML5, only in Seaside. The browser
> doesn't know it's a cancel button. Therefore you have to write some
> JavaScript that either removes the required property from the input
> fields or adds the novalidate property to the form.

Right. Or use a link styled to look like your buttons instead of a button.


More information about the seaside mailing list