jeudi 18 octobre 2018

Laravel 5.6. Fail, if 2 specific fields are present in the request

I have 2 fields in the request. field1 and field2.

What rules should I define in the FormRequest to fail validation, if both are present?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire