I am looking at doing a similar approach of integrating ParsleyJS with 
Angular.  I am curious if anyone ended up doing it on this thread?


On Thursday, May 22, 2014 5:00:58 AM UTC-6, James Crosswell wrote:
>
> I'm not using JS server side no, so server side validation isn't an issue.
>
> I've just gone with the scotch.io approach for now. It's a little bit 
> laborious coding up all the show/hide logic for the messages but works 
> well. I guess it's the sort of thing some custom directives could do... 
>
> Cheers,
> James
>
> On Wednesday, 21 May 2014 12:13:38 UTC+2, Richard Seldon wrote:
>>
>> 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 
>> <http://scotch.io/tutorials/javascript/angularjs-form-validation>. 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 <http://parsleyjs.org/> ? 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.

Reply via email to