I have one form and it is in edit page, which has field name email. Now I don't want to check email validation, which is unique. I have already put validation in rules like 'email'=>'unique:users', which perfectly works on create page.So that validation I want to ignore on edit page. And I have to use FormRequest class like FormRequest $request in update function's argument, which defines rules array of form's fields validations.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1ItqumQ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire