• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validation form

#1
Hello,

When trying to validate my form I think there is going something wrong, required fields shows messages on the first run. But when entering the Firstname and Passwords the Lastname doesn't validate anymore.

The code below is inside:  application/Config/Validation.php
PHP Code:
public $manager = [
    
'Firstname'   => 'trim|required',
    
'Lastname'    => 'trim|required',
    
'Username'    => 'trim|required|valid_email',
    
'Password'    => 'trim|required|min_length[8]',
    
'Passconfirm' => 'trim|required|matches[Password]',
]; 

Is there something wrong, or is this a name conflict with the validation?
Reply


Messages In This Thread
Validation form - by superior - 11-19-2016, 08:44 AM
RE: Validation form - by ridho - 11-19-2016, 02:20 PM
RE: Validation form - by superior - 11-19-2016, 02:25 PM
RE: Validation form - by ridho - 11-19-2016, 02:36 PM
RE: Validation form - by superior - 11-19-2016, 02:51 PM
RE: Validation form - by ridho - 11-19-2016, 05:05 PM
RE: Validation form - by superior - 11-19-2016, 05:49 PM
RE: Validation form - by ridho - 11-19-2016, 07:33 PM
RE: Validation form - by superior - 11-20-2016, 06:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.