I created a new field "email2" and tried adding this code to include/register.php
Code:
function validate($email, $email2, ==)
{
if($email == $email2)
{
return true;
} else {
return false;
}
}
but then i got a page error when trying to use register on the customer side, I think i have to try to implement it into register.tpl rather than register.php, anyone know how to make the above code smarty friendly?
thanks