DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
how to add an custom error to validater error in laravel
if (request('event') == null) { $validator->errors()->add('event', 'Please select an event'); }
Source by dcblog.dev #
PREVIOUS
NEXT
Tagged:
#add
#custom
#error
#validater
#error
#laravel
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit