Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel stop on first validation error

# in request file

/**
 * Indicates if the validator should stop on the first rule failure.
 *
 * @var bool
 */
protected $stopOnFirstFailure = true;
 
PREVIOUS NEXT
Tagged: #Laravel #stop #validation #error
ADD COMMENT
Topic
Name
2+8 =