app/Http/Requests/RequestInfoFormRequest.php
/**
     * Adds custom error messages to validator.
     *
     * @return array
     */
Adds custom error messages to validator.
@return array
Adds custom error messages to validator . @return array
public function messages()
    {
        return [
			'digits' => 'This field must contain a valid grade level',
			'email' => 'This field must contain a valid email address',
		];
    }
public function messages ( ) { return [ 'digits' => 'This field must contain a valid grade level' , 'email' => 'This field must contain a valid email address' , ] ; }
Adds custom error messages to validator.
Adds custom error messages to validator .