Reputation: 2663
As you can see from the above screenshot, I have 2 fields (first name, last name).
And I don't want to show 2 similar messages (This field is required
) under each field. But I want to have only one message (under these 2 fields).
How should I do in this case in order to have that?
Given the fact that I'm using ng-messages
.
Any reply would help. Thanks!
Upvotes: 0
Views: 275
Reputation: 1705
Edited:
Maybe you can find answer from here Form validation - Required one of many in a group
Upvotes: 1