[Seaside] Cancel Button

Robert Sirois watchlala at hotmail.com
Wed Jul 20 17:16:27 UTC 2011


Oh I see. I shall try that after vacation ;)

Thanks
RS

> Date: Wed, 20 Jul 2011 19:10:50 +0200
> Subject: Re: [Seaside] Cancel Button
> From: philippe.marschall at gmail.com
> To: seaside at lists.squeakfoundation.org
> 
> 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
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110720/c473f914/attachment.htm


More information about the seaside mailing list