Check Email input form

Discussion in 'Customization & add-ons' started by ezminisites, Jun 18, 2007.

  1. ezminisites

    ezminisites New Member

    Joined:
    Jul 3, 2006
    Messages:
    40
    HI, just a quick question. I am having people send through bad email addresses, not because of accounts, but because of typo's. IS it possible to setup a form field input check on the email address or something so they input the email twice, and amember checks the entries to make sure they match before sending?

    I know there is a 'confirm email' process for signups, but if they enter the wrong email they never get the 'confrim email' email. Make sense?

    Anyone try to do this>?

    DJ
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You can do this, but this will reuire small customizations.
    1. Add input filed with name email1 to signup template just after email field.
    2. edit signup.php and in function function check_payment_form(){
    add something like this:
    PHP:
    if($vars[email] != $vars[email1]){
      
    $error[] = "Please check email and email confirmation";
    }

Share This Page