From e5962266d79ab4aa3b7e49d1d5cddb7f85c057e6 Mon Sep 17 00:00:00 2001 From: Cristiano Fromagio <16294559+cristianofromagio@users.noreply.github.com> Date: Thu, 5 Aug 2021 10:45:48 -0300 Subject: [PATCH] [8.x] Add accepted_if validation rule (#5658) * Add accepted_if validation rule * Update validation.php Co-authored-by: Taylor Otwell --- resources/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 6100f808..6ee8d8d7 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -14,6 +14,7 @@ */ 'accepted' => 'The :attribute must be accepted.', + 'accepted_if' => 'The :attribute must be accepted when :other is :value.', 'active_url' => 'The :attribute is not a valid URL.', 'after' => 'The :attribute must be a date after :date.', 'after_or_equal' => 'The :attribute must be a date after or equal to :date.',