Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Customizing The Validation Attributes

$niceNames = array(
    'first_name' => 'First Name'
);

$validator = Validator::make(Input::all(), $rules);
$validator->setAttributeNames($niceNames); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Customizing #The #Validation #Attributes
ADD COMMENT
Topic
Name
3+5 =