Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Making a "Address Line 2" registration field a required

Making a "Address Line 2" registration field a required

Views: 2,763

Results 1 to 5 of 5
21 Jan 2011, 3:56 PM
#1
vladimir_vulic avatar

vladimir_vulic

New Zenner

Join Date:
Jun 2010
Posts:
16
Plugin Contributions:
0

Making a "Address Line 2" registration field a required

Hi,

during the new account registration process there is a field called "Address Line 2". This field is actually for suburb and is not required.

Now, what I need to do is to make this field a required one - mandatory so when I customer doesn't enter anything it doesn't allow to create an account.

Can anybody help? Thanks

21 Jan 2011, 5:04 PM
#2
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: Making a "Address Line 2" registration field a required

Like you said this is optional in most countries. Why would you want it to be required. What if a customer doesn't have a second address such as Apt or Suite, or they choose to write their complete address in one line. Are you willing to loose a sale or a customer because you are making them think why there account hasn't been created.

You can look into the create_account header and copy the rules from address 1 to address 2 then edit your create_account module and create_account template to pass the required field to the customer.

21 Jan 2011, 6:08 PM
#3
vladimir_vulic avatar

vladimir_vulic

New Zenner

Join Date:
Jun 2010
Posts:
16
Plugin Contributions:
0

Re: Making a "Address Line 2" registration field a required

CoolCarPartsOnline:

Like you said this is optional in most countries. Why would you want it to be required. What if a customer doesn't have a second address such as Apt or Suite, or they choose to write their complete address in one line. Are you willing to loose a sale or a customer because you are making them think why there account hasn't been created.

You can look into the create_account header and copy the rules from address 1 to address 2 then edit your create_account module and create_account template to pass the required field to the customer.

Thank you for the reply, but do I really have to explain why I need it? I'm looking for a solution how to make it happen not why I shouldn't do it.

The explanation you provided is general, I would need a little more specific instructions.

Thanks

16 Jan 2019, 7:41 PM
#4
warrior812many avatar

warrior812many

New Zenner

Join Date:
May 2018
Location:
Costa Rica
Posts:
3
Plugin Contributions:
0

Re: Making a "Address Line 2" registration field a required

I am having the same problem.