James, Good question. I too would welcome any insights.
At the moment, am using very similar approach to the scotch.io examples in link you provided. For form specific validation like simply required, then ng-required attribute on select form elements, and the standard HTML5 required attribute is usually enough. Most resources I have studied on AngularJS appear to be doing something very similar but perhaps the community can offer different ideas. Are you using JS server side in Node etc? For that, have started adopting https://github.com/chriso/validator.js Find this works nicely for most situations, and can be further supported with lodash / underscore utility methods. Could conceivably use that client side too. Best regards, Richard. On 21 May 2014, at 19:00, James Crosswell <[email protected]> wrote: > I'd be interested in this too. I found this article on form validation with > Angular. The result is great but so much more code to put it together than > with Parsely (especially for simple stuff like "required" field validation). > > Is there a "recommended" approach to form validation with Angular? > > Cheers, > James > > On Monday, 28 January 2013 21:43:53 UTC+1, clayton collie wrote: > > Anyone looked at integrating ParsleyJs ? Or does Angular cover most of this > territory ? > > -- > 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. -- 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.
