I am trying to validate input quantity of an item in Laravel. How will I do this using request()->validate([])? I want to validate if the input quantity from user is greater than the quantity of item from database.
Also, is it possible to return an error message if the entered quantity is greater than the quantity from database?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2N7qKQ8
via IFTTT
Aucun commentaire:
Enregistrer un commentaire