You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by George Christman <gc...@cardaddy.com> on 2011/11/07 15:36:54 UTC

Form Zone with onValidate

Hello, I was wondering how to use onValidate when using the form with a zone.
I'm returning a zone when errors are present, just not sure how to get it to
continue on to onSuccess when there is no errors present. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Form-Zone-with-onValidate-tp4971289p4971289.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Form Zone with onValidate

Posted by George Christman <gc...@cardaddy.com>.
As it turns out, I just wrote my method incorrectly resulting in my error.
Resolved. Thanks !

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Form-Zone-with-onValidate-tp4971289p4971313.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Form Zone with onValidate

Posted by Steve Eynon <st...@alienfactory.co.uk>.
Hi,

I'm a bit confused, the form logic for an ajax form submit is the same
as for a traditional submit - so if there are no validation errors,
then your onSuccess() event handler gets called. Are you saying this
is not the case?

Steve.

On 7 November 2011 22:36, George Christman <gc...@cardaddy.com> wrote:
> Hello, I was wondering how to use onValidate when using the form with a zone.
> I'm returning a zone when errors are present, just not sure how to get it to
> continue on to onSuccess when there is no errors present.
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Form-Zone-with-onValidate-tp4971289p4971289.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org