Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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',
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #password #confirmation #validation
ADD COMMENT
Topic
Name
5+1 =