When laravel form requests verification, if there is data, it will be verified. If there is no data, it will not be verified.
过去多啦不再A梦
过去多啦不再A梦 2017-05-16 16:48:53
0
1
460

For example, I have a table with fields name, qq, tel, email

Then when submitting, the name is a page form request and only one field name is requested, and the qq field is also a method and only QQ is requested

If required is not written in the verification rule, it will be fine when requesting

But how do I verify whether the requested data is empty and not conflict with my request?

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
Ty80

sometimes

Many times, reading the document carefully can save a lot of trouble

https://laravel.com/docs/5.3/...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template