I am making a sign-up for my site. How can i ask for retype password and match with the password for a valid registration? I would be grateful if anyone could help me out.
Page 1 of 1
Registration Form How can i ask for re-password in registration form?
#2
Posted 10 June 2011 - 02:18 PM
Add
to your model.
Assuming you have a "password"-column in your schema, add this validation rule to your model:
Should give you a clue.
public $passwordRepeat;
to your model.
Assuming you have a "password"-column in your schema, add this validation rule to your model:
array('passwordRepeat', 'compare', 'compareAttribute' => 'password')Should give you a clue.
#3
Posted 10 June 2011 - 02:19 PM
why not try already developed modules such as Yii-user , Yii-user-management
Share this topic:
Page 1 of 1

Help

This topic is locked













