netceteragroup / valdr

A model centric approach to AngularJS form validation
http://netceteragroup.github.io/valdr/
MIT License
153 stars 43 forks source link

Manually trigger a validation after server side validation fails #109

Open nishadk123 opened 8 years ago

nishadk123 commented 8 years ago

Hello all,

I am trying to manually trigger the error for a field when the server side validation fails.

So far i have tried to set the $valid of the form field to false. It make the input field to have the error invalid class but the error message does not show.

Is there any other way of doing the same?

chillyistkult commented 7 years ago

Having the same problem. Is there any solution for this?