Laravel validator: How to validate one of two nullable fields?

后端 未结 0 473
时光说笑
时光说笑 2020-12-14 19:27

I am using Laravel 8. How to validate two fields, where they both can be null, but they can\'t be selected both? Both instagram_url and facebook_url

相关标签:
回答
  • 消灭零回复
提交回复
热议问题