Forums / Customization from the Admin / How do I make Address line 2 compulsory in the create account form?

How do I make Address line 2 compulsory in the create account form?

Locked

Views: 2,413

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
3 Mar 2010, 7:50 AM
#1
liamv avatar

liamv

New Zenner

Join Date:
Feb 2010
Posts:
73
Plugin Contributions:
0

How do I make Address line 2 compulsory in the create account form?

At some stage I must have changed the setting on this and made this field not compulsory.

How do I make the 'Address line 2" field in the create login form compulsory again?

Many thanks in advance

3 Mar 2010, 10:02 AM
#2
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

Re: How do I make Address line 2 compulsory in the create account form?

address line 2 is not complsary in the standard install, not alot of people require this line which is why it is optional. you may end up losing customers if they cannot sign up due to this being requred?

http://www.mods.livvylougifts.co.uk Zen Cart Mod Site
http://www.livvylougifts.co.uk Personalised gifts for every occasion

3 Mar 2010, 10:16 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I make Address line 2 compulsory in the create account form?

I'd be interested in knowing why you want to do this, since many people don't have a 'part 2' to their street addresses (unless you're planning to rename it and use it to collect some other data).

If that's the case, you should be able look at the code that forces the other mandatory fields and add it to that one.

3 Mar 2010, 8:12 PM
#4
liamv avatar

liamv

New Zenner

Join Date:
Feb 2010
Posts:
73
Plugin Contributions:
0

Re: How do I make Address line 2 compulsory in the create account form?

stevesh:

I'd be interested in knowing why you want to do this, since many people don't have a 'part 2' to their street addresses (unless you're planning to rename it and use it to collect some other data).

If that's the case, you should be able look at the code that forces the other mandatory fields and add it to that one.

In New Zealand we typically use the following address format

Street Address
Suburb
City
Post code (Same as a Zip code)

We use the suburb field because in some cities we have two streets with the same name.

So I am going to change 'address line 2' to suburb and want to make it compulsory.

Does anone know where I find the code that makes the other fields mandatory?