Flying memes

Posts Tagged ‘submit’

Angular.js prevent an invalid form submission

Saturday, March 1st, 2014

Angular.js does an excellent job on preventing a form submission when invalid but only if the action attribute is not present, otherwise we have to implement a few tricks to achieve the same behaviour.

(more…)