Roswell Studios

139 Fulton Street, Ste 132
New York, NY 10038

Angular Review: Form Validation

— March 1, 2016

Another place that should be far simpler than it is. It doesn’t help that one of the solutions starts with “If you google “angular js password match” you would find a lot of solutions.”*, and I couldn’t get that one to work. There is an official Angular UI that has a “General-purpose validator for ngModel.”, but requires installing the entire suite for just that. This is the best answer I found: The Angular form validation and $error thing are powerful. It is a shame it is so hard to do such common tasks.

So far as I can see, there’s no way to use any of these without having a named password check field. (So if you submitted the form, the password would be submitted twice, decreasing the randomness.)

Back to all