Kevin, you may want consider exchanging handling the blur (handled via 
$touched I assume) and perhaps explore showing errors 'as you type' via 
ng-change for example that get triggered on every keypress (as opposed to 
ket release) and then incorporate it into your form validation 
(eg:https://docs.angularjs.org/api/ng/input/input%5Btext%5D). Usually, 
there are better ways than incorporating synthetic delays for these 
situations.

Mo

On Wednesday, July 15, 2015 at 6:48:43 PM UTC-4, Kevin W wrote:
>
> We are using the AngularJS validation framework for client side validation.
>
> The layout of our page causes the errors to appear and disappear when 
> fields lose focus.
>
> The problem we are having is if you have an error being displayed, and you 
> correct the field but do not leave the field, then scroll down to the 
> submit button, when you click the submit button the angular validation 
> fires and removes the error which causes the contents of the page to 
> "shift" up just enough that the button click doesn't occur.
>
> Is there a way to tell Angular to delay the hiding of the validation 
> errors so that (A) the form would still be considered valid and (B) the 
> button click event could occur as expected.
>
> Thanks,
> Kevin
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to