View Single Post
  #3  
Old 05-21-2004, 07:34 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default

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
Reply With Quote