Welcome Guest, Not a member yet? Register   Sign In
Validation form
#1

(This post was last modified: 11-19-2016, 08:45 AM by superior.)

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



Theme © iAndrew 2016 - Forum software by © MyBB