Could you please review my work on Plunker? Here's the link: http://plnkr.co/edit/Jb43KPTXwF6zISS8PkaF?p=preview
In my project, I have two buttons - save and modify. Currently, when I click the save button (type submit), the form validates before calling the function. Now I want to add the same validation functionality to the modify button (type button) so that it also validates before calling the modify function.
If you have any alternative solutions, feel free to share them as well. Just keep in mind that I need the validation to work with multiple buttons on the same form.
Thank you in advance!