oicr-ibc / heliotrope

Other
10 stars 0 forks source link

Add form validation framework #9

Closed morungos closed 11 years ago

morungos commented 11 years ago

This needs to handle both client-side and server-side validation.

morungos commented 11 years ago

jqBootstrapValidation seems an appropriate validation framework. It does integrate into AngularJS sort of OK. Main issue in a directive is to link the directive before invoking the plugin. The challenge is to get the right attributes into the element from the back end. This can probably be done with better refactoring.

morungos commented 11 years ago

Basic form validation is now functional. There's probably (definitely) room for improvement, but these can wait for specific cases.