Hi, I solved this problem by preventing the "overlay loading animation" when the client validation finds any error:
var validationError = false; frmForm.getElements().each(function(fieldElement) { var fieldEventManagerOfElement = $T(fieldElement).fieldEventManager; if (fieldEventManagerOfElement != undefined) { var fieldElementValidationError = fieldEventManagerOfElement.validateInput(); if (fieldElementValidationError) { validationError = true; } } }); if (!validationError) { // display the "overlay loading animation" } Izolda asianCoolz <second_co...@yahoo.com> wrote: the reason i want to do this is because i have "overlay loading animation" that block page UI whenever submit button is clicked. but at the same time, tapestry will show clientsidevalidation pop up overlay box. I want to call custom javascript function so that it will close my "overlay loading animation" --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org