Laravel ต้องการเพียงหนึ่งในหลายช่องข้อมูลไม่ทั้งสอง

รหัสตัวอย่าง

1
0

laravel ต้องการเพียงหนึ่งในหลายช่องข้อมูลไม่ทั้งสอง

prohibited
The field under validation must be empty or not present.

prohibited_if:anotherfield,value,...
The field under validation must be empty or not present if the anotherfield field is equal to any value.

prohibited_unless:anotherfield,value,...
The field under validation must be empty or not present unless the anotherfield field is equal to any value.

prohibits:anotherfield,...
If the field under validation is present, no fields in anotherfield can be present, even if empty.

หน้าคล้ายกัน

คล้ายกันหน้ากับตัวอย่าง

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................