Jump to content

Express Registation


Guest
 Share

Recommended Posts

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

Link to comment
Share on other sites

Guest marinist

Also make sure there are no spaces or non numeric entries between the area code and number, or anywhere else in the number

Link to comment
Share on other sites

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 :wacko:

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...