Jump to content

Limit length of customer and customer address fields

Recommended Posts

Hello all,

I want to reduce the lenght of some customer and customer related address fields (in PS
It is no use allowing a customer to enter up to 255 characters for their name and some address related fields if the courier does not accept more than 35 characters during their shipping label creation...

I need to limit customer data entry as follows:

firstname: max 35 characters
lastname:  max 35 characters
email: max 50 characters
company: max 35 characters

address1: max 35 characters
address2: max 8 characters
postcode: max 9 characters
city: max 35 characters
phone: max 30 characters
phone_mobile: max 30 characters


What is the proper way to achieve this?

Edited by KBruyninckx (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...

Is my requirement so unique?

I want to implment the limits set by DPD and I assume other shopowners also use DPD to ship parcels throughout Europe.... or have you come up with another solution to avoid reworking addresses before shipping labels are created?

Or is this the wrong section of the forum for this sort of question?

Edited by KBruyninckx (see edit history)
Link to comment
Share on other sites

  • 1 year later...

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
  • Create New...