How to do Validation with angular JS/ionic Framework

I see. Here comes my two questions:

  1. How can I get which field failed and show the hint for the invalidation?
  2. In my case, I have two button for a form, whichever the user clicks the form has to be validated, and then some diffrent things has to done if the form is valid. I tried to apply the directive “on-valid-submit” on the two buttons, but I failed. How should do it?

Thank you :slight_smile:

1 Like