Jump to content
Sign in to follow this  
bkochis

postal code field too short when editiong customer

Recommended Posts

Hi,

I went to edit a customer under Admin-Customer (customers.php) and the postal code field is too short. I manually created a customer account with the postal code of 19605-3271 (in the United States referred to as Zip Code).

 

When I went to edit this account the last 2 digits were stripped off and the record was saved that way. I am going to look at customers.php but wanted to raise the flag. Yes, I am using version 2.11

 

Thank you, Bob

Share this post


Link to post
Share on other sites
Hi,

I went to edit a customer under Admin-Customer (customers.php) and the postal code field is too short. I manually created a customer account with the postal code of 19605-3271 (in the United States referred to as Zip Code).

 

When I went to edit this account the last 2 digits were stripped off and the record was saved that way. I am going to look at customers.php but wanted to raise the flag. Yes, I am using version 2.11

 

Thank you, Bob

 

I found in customers.php at lines 1157, 1499 a 'maxlength' variable set to 8, I changed it to 10 and every thing is good.

Bob

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×