0

enter image description here

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!

Thịnh Phạm
  • 2,528
  • 5
  • 26
  • 39

1 Answers1

1

Edited:

Maybe you can find answer from here Form validation - Required one of many in a group

Community
  • 1
  • 1
Vu Quyet
  • 1,675
  • 1
  • 16
  • 22