You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Bohnert <ab...@weberhofer.at> on 2011/12/15 16:13:15 UTC

How to check if js validation has failed before doing submit?

Hi,

I am using tap 5.3, tapestry-jquery and JQueryDialog.
On my ok-button handler I would like to check if the js validation has 
failed (required - for example), before I submit the form.

I know I could use InternalUtils.isNonBlank(foo) on java side, but I 
want to do this on the client side.

Any suggestions?
Thanks for your help!

Andreas

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