【发布时间】:2016-09-13 10:03:49
【问题描述】:
假设一个场景,
There are 2 fields available in the form.
1) input type file for manual upload.
2) input type = text to enter youtube video url.
是否可以使用 laravel 内置验证,以便在用户将两个字段都留空时触发验证!
我已经浏览了https://laravel.com/docs/5.3/validation,但找不到我想要的。
【问题讨论】:
标签: php validation laravel-5 laravel-5.2