resend the email, forgot password

Hi all, if someone can help me, instead of checkbox i want the user to click on the Forgot the Password link. its only a line of code which i cant figure out:)

$group[]=$form->addElement(‘advcheckbox’, ‘resetPassword’, ‘’, ‘Forgot the Password?’,
array(‘class’=>‘text’), array(false,true));…

if(isset($_POST[‘resetPassword’]) && $_POST[‘resetPassword’]==1) {
$userExistsQuery=‘select name from evtb_users where handle=?’;…

it is not just one little piece of code there to change, cms. plus you cannot just change it to a link because the data is post data($_POST[‘resetPassword’]), unless you add in javascript to post the data from the link. It is going to require more work than just a quick add a link

Sponsor our Newsletter | Privacy Policy | Terms of Service