Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

validate either one field is required in laravel

$rules = array(
    'Email' => 'required_without:QQ'
);
 
PREVIOUS NEXT
Tagged: #validate #field #required #laravel
ADD COMMENT
Topic
Name
7+2 =