Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Posts
    123
    Plugin Contributions
    0

    Default Telephone Number -FEC

    I've been looking but I can't seem to find the answer.
    With 1.3.9c and FEC only, from the admin, customers, edit we get the error

    * The 'Telephone Number' entry must have at least 0 characters

    Now it doesn't matter what its set at in admin, configuration. I know others have had this issue but I just can't find it.

    I would appreciate if someone could point me in the right direction.
    Wishing I was Zenned !
    It's amazing what happens when I put the files in the right folders !!!

  2. #2
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Telephone Number -FEC

    Yeah I have the same problem I did ask for advice on the forum a while back but didn't receive a response

  3. #3
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: Telephone Number -FEC

    Quote Originally Posted by yd29999 View Post
    I've been looking but I can't seem to find the answer.
    With 1.3.9c and FEC only, from the admin, customers, edit we get the error

    * The 'Telephone Number' entry must have at least 0 characters

    Now it doesn't matter what its set at in admin, configuration. I know others have had this issue but I just can't find it.

    I would appreciate if someone could point me in the right direction.
    What version of FEC? It uses the Minimum setting from configuration/minimum values. This is from FEC 181 create_account.php file

    Code:
      if (ACCOUNT_TELEPHONE == 'true') {
        if (strlen($telephone) < ENTRY_TELEPHONE_MIN_LENGTH) {
          $error = true;
          $messageStack->add_session('login', ENTRY_TELEPHONE_NUMBER_ERROR);
        }
      }
    and this is the code from customers.php which FEC doesn't use and it is what is used when editing a Customer from admin.

    Code:
          if (strlen($customers_telephone) < ENTRY_TELEPHONE_MIN_LENGTH) {
            $error = true;
            $entry_telephone_error = true;
          } else {
            $entry_telephone_error = false;
          }
    Both check the same settings for length! So, start there

 

 

Similar Threads

  1. v153 Telephone number gives error when minimum value is any number above zero
    By Graniteman22 in forum General Questions
    Replies: 21
    Last Post: 8 Oct 2014, 05:38 AM
  2. v150 Telephone Number Shipping Address
    By oitem in forum General Questions
    Replies: 1
    Last Post: 9 Jun 2012, 02:12 AM
  3. telephone number
    By homebrewkits in forum Basic Configuration
    Replies: 1
    Last Post: 22 Feb 2011, 08:23 PM
  4. Telephone number formatting
    By t.harrison in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Feb 2008, 04:46 PM
  5. Hardcode Telephone Number?
    By oldschoolrocker in forum General Questions
    Replies: 2
    Last Post: 14 Jan 2007, 05:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg