• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
password confirm sample?

#1
[eluser]rochellecanale[/eluser]
help guys my problem is i have created a password/password confirm and it doesnt work my code is

Password <input type="password" name="password" value="" size="40" />
Re-Type Password <input type="password" name="passcon" value="" size="40" />

==============================================================
$this->form_validation->set_rules
('password','Password','trim|required|matches[passcon]|md5');

$this->form_validation->set_rules
('passcon', 'Password Confirmation', 'trim|required');
==================================================================
ok i solved my own problem i forgot to put form_error()


Messages In This Thread
password confirm sample? - by El Forum - 09-08-2012, 01:38 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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