Guest Posted April 1, 2005 Share Posted April 1, 2005 After filling out the express registration form I receive the message saying Telephone numbers must be numeric only. I entered the phone number like this 5555555555 and also 555-555-5555 Any help would be appreciated Quote Link to comment Share on other sites More sharing options...
Guest Posted April 1, 2005 Share Posted April 1, 2005 Did you leave the mobile phone part blank? Quote Link to comment Share on other sites More sharing options...
Guest marinist Posted April 1, 2005 Share Posted April 1, 2005 Also make sure there are no spaces or non numeric entries between the area code and number, or anywhere else in the number Quote Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2005 Share Posted April 2, 2005 I've tried the same thing 555-555-5555 and 5555555555 I've tried it in both phone number and cell number , just phone number then just cell number and the problem is still happening Quote Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2005 Share Posted April 2, 2005 Ok I have filled in the mobile phone part and now it will let me register Is there a way to make the mobile phone number not be required? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2005 Share Posted April 2, 2005 Thats just a small flaw in the coding mate, Edit includes/content/reg.inc.php Find: } elseif(!ereg("[0-9]",$_POST['phone']) || !ereg("[0-9]",$_POST['mobile'])) { $errorMsg = $lang['front']['profile']['numeric_only']; } Replace with the following: } elseif(!ereg("[0-9]",$_POST['phone'])) { $errorMsg = $lang['front']['profile']['numeric_only']; } elseif(!empty($_POST['mobile'])) { // if mobile phone has a value then check to see if it is numbers only  if(!ereg("[0-9]",$_POST['mobile']) {  $errorMsg = $lang['front']['profile']['numeric_only'];  } } includes/content/profile.inc.php elseif(!ereg("[0-9]",$_POST['phone']) || !ereg("[0-9]",$_POST['mobile'])) { $errorMsg = $lang['front']['reg']['enter_valid_tel']; } to } elseif(!ereg("[0-9]",$_POST['phone'])) { $errorMsg = $lang['front']['reg']['enter_valid_tel']; } elseif(!empty($_POST['mobile'])) { // if mobile phone has a value then check to see if it is numbers only  if(!ereg("[0-9]",$_POST['mobile']) {  $errorMsg = $lang['front']['reg']['enter_valid_tel'];  } } Also the county not appearing bug: line 44: Change {VAL_COUNTRY} to {VAL_COUNTY} I think that may work :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.