Hi,

If you want to disable the postal/zip code validation check against the db. This is useful if you want people to enter a postal/zip code that is not in the database, but the validation for the field still works.

in create_account.php lines: 444 - 469
Comment it out, now any post/zip code can be used, and js validation of the text field still works.


/*********************error check for post code*************************************************************/
/**
//print_r($_POST)."<br>";

$sql_zone_name=mysql_query("select * from zipcode where zip_codes='$postcode' and zone_id='$_POST[zone_id]'");

//echo "select * from zipcode where zip_codes='$postcode' and zone_id='$_POST[zone_id]'";



$num=mysql_num_rows($sql_zone_name);



if ($num < 1) {

$error = true;

$messageStack->add('create_account', ENTRY_POST_CODE_ERROR2);

}

**/

/*********************error check for post code*************************************************************/