Re: T5: Form cancellation query
The following should work: onclick="location.href='Page1';"/> Hope this helps! [EMAIL PROTECTED] wrote: I have a form on a page and I have two buttons: Submit and Cancel. I have handlers for both. However, because I need two of the fields to be required, the client side checking never allows my handlers to be called if no values are inserted in the fields and the user presses Cancel. How do you achieve the Cancel functionality with required fields? thanks, p. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: T5: Form cancellation query
The most commonly suggested method is to use a Cancel link that is stylized to look like a button. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2008 08:53 > To: Tapestry users > Subject: T5: Form cancellation query > > > I have a form on a page and I have two buttons: Submit and Cancel. I > have handlers for both. However, because I need two of the fields to > be required, the client side checking never allows my handlers to be > called if no values are inserted in the fields and the user presses > Cancel. > > How do you achieve the Cancel functionality with required fields? > > thanks, > p. > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: Form cancellation query
I have a form on a page and I have two buttons: Submit and Cancel. I have handlers for both. However, because I need two of the fields to be required, the client side checking never allows my handlers to be called if no values are inserted in the fields and the user presses Cancel. How do you achieve the Cancel functionality with required fields? thanks, p. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]