2

I've been checking out the valdr form validation service (http://netceteragroup.github.io/valdr/) as means of better organizing my form validation rules. It looks quite simple to use, except I think it has issue supporting ng-repeat blocks.

This because it relies on input name attribute to map rules to inputs, but by dynamically building inputs within an ng-repeat, the input names change.

Wondered if anyone had experience with this? Also curious of any feedback in general for this plugin, since there is little mention of it out on the web.

Thank you.

Marcel Stör
  • 22,695
  • 19
  • 92
  • 198
rwalker
  • 311
  • 2
  • 10
  • 1
    You can have inputs with the same name. I would guess it will work with `ng-form`. – runTarm Aug 09 '14 at 17:15
  • Wasn't aware of ng-form directive (still getting familiar with Angular). I will read up on that. Thx. – rwalker Aug 09 '14 at 17:36
  • 2
    I've found this example with `ng-repeat` and `ng-form` on their github: https://github.com/netceteragroup/valdr/blob/master/demo/core/list.html – runTarm Aug 09 '14 at 17:41

0 Answers0