Merge pull request #1852 from andershammar/develop

Add validation error message for the 'required_without' rule
This commit is contained in:
Taylor Otwell 2013-04-04 08:10:32 -07:00
commit d8daedcb46
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@
"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_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.",
"same" => "The :attribute and :other must match.", "same" => "The :attribute and :other must match.",
"size" => array( "size" => array(
"numeric" => "The :attribute must be :size.", "numeric" => "The :attribute must be :size.",