Browse Source

Add required_if validation language line.

Taylor Otwell 11 years ago
parent
commit
d433293e8a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/lang/en/validation.php

+ 1 - 0
app/lang/en/validation.php

@@ -52,6 +52,7 @@ return array(
 	"numeric"          => "The :attribute must be a number.",
 	"numeric"          => "The :attribute must be a number.",
 	"regex"            => "The :attribute format is invalid.",
 	"regex"            => "The :attribute format is invalid.",
 	"required"         => "The :attribute field is required.",
 	"required"         => "The :attribute field is required.",
+	"required_if"      => "The :attribute field is required when :other is :value.",
 	"required_with"    => "The :attribute field is required when :values is present.",
 	"required_with"    => "The :attribute field is required when :values is present.",
 	"required_without" => "The :attribute field is required when :values is not present.",
 	"required_without" => "The :attribute field is required when :values is not present.",
 	"same"             => "The :attribute and :other must match.",
 	"same"             => "The :attribute and :other must match.",