[Seaside] Re: Cancel Button

Philippe Marschall philippe.marschall at gmail.com
Mon Jul 25 05:49:13 UTC 2011


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.

Cheers
Philippe


More information about the seaside mailing list