Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel 8 password confirmation validation

// password field like this
<input type="password" name="password"/>
  // matching field like this
//{field}_confirmation
  <input type="password" name="password_confirmation"/>
  //validation rule
  'password' => 'required|min:6|max:25|confirmed',
Comment

confirm password validation laravel

'password' => 'required|confirmed',

reference : https://laravel.com/docs/4.2/validation#rule-confirmed

The field under validation must have a matching field of foo_confirmation. 
For example, if the field under validation is password, a matching
password_confirmation field must be present in the input.
Comment

confirm password validation in laravel

$this->validate($request, [
    'name' => 'required|min:3|max:50',
    'email' => 'email',
    'vat_number' => 'max:13',
    'password' => 'required|confirmed|min:6',
]);
Comment

Laravel Password & Password_Confirmation Validation

$this->validate($request, [
    'name' => 'required|min:3|max:50',
    'email' => 'email',
    'vat_number' => 'max:13',
    'password' => 'required|confirmed|min:6',
]);
Comment

PREVIOUS NEXT
Code Example
Php :: update php version using htaccess 
Php :: phpexcel set width 
Php :: wordpress debug mode enabled 
Php :: php object to array 
Php :: laravel artisan create criteria 
Php :: laravel failed jobs retry 
Php :: php preg_match email validation code 
Php :: how to check if php is connected to database 
Php :: storage link laravel 
Php :: how to find php.ini 
Php :: laravel show routes artisan 
Php :: zsh: command not found: laravel 
Php :: Delete Query with Where Condition in Codeigniter 
Php :: php check how much time each instruction takes to complete 
Php :: specified key was too long; max key length is 767 bytes (s 
Php :: php loop through json 
Php :: write if and else in one line laravel 
Php :: php check if parameter exists 
Php :: laravel blade uppercase 
Php :: wordpress Access-Control-Allow-Origin 
Php :: laravel scout import command 
Php :: php max input vars wordpress wp-config 
Php :: php curl post json 
Php :: laravel format number blade 
Php :: print array php 
Php :: laravel migrate specific path 
Php :: how to run specific seeder in laravel 
Php :: laravel storage folder permissions 
Php :: import class route laravel 
Php :: wp max revisions 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =