This topic contains 4 replies, has 3 voices, and was last updated by vodvud 7 years, 2 months ago.
- Topic
Hi!
I have 2 fields firstName and lastName
validation.yml
12345678910PeopleBundle\Entity\Person:properties:firstName:- NotBlank: ~- Length:max: 255lastName:- NotBlank: ~- Length:max: 255I need so that one field can be empty, but can’t both.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.