i.e, I have four text boxes if I enter a value in any text box out of all text box, it should be allowed to submit otherwise throw an error,"Value is Required",
It is possible using angularjs directive.
i.e, I have four text boxes if I enter a value in any text box out of all text box, it should be allowed to submit otherwise throw an error,"Value is Required",
It is possible using angularjs directive.
Copyright Ā© 2021 Jogjafile Inc.
You can check out the angularjs documentation here: https://docs.angularjs.org/api/ng/directive/input
For example, if you want to validate text boxes, you can have something like
(and similarly for the other input boxes)
If you are looking to set a custom validation, there is a really good answer here that you can look at: How to add custom validation to an AngularJS form?