Forums / General Questions / Compulsory Field

Compulsory Field

Locked

Started by aminut on 27 Jan 2010, 5:29 AM · Views: 1,593

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Jan 2010, 5:29 AM
#1
aminut avatar

aminut

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

Compulsory Field

Hi All,

I have re arranged the sign up form and worked out how to hide the City field and the alert. What I have done is on the configuration table I have changed value of the ENTRY_CITY_MIN_LENGTH to 0.
It works well with no alert.

However when I am updating Address Detail and click on update I get the message "Your City must contain a minimum of 0 characters"

I also found this alert can appear on other modules.
Is there any idea how to clear the alert and make the city field not compulsory from all modules?

Regards
David

27 Jan 2010, 5:50 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,896
Plugin Contributions:
21

Re: Compulsory Field

Edit your english.php file in your includes/languages/CUSTOM/ directory and remove the * on line 230 where it says

define('ENTRY_CITY_TEXT', '*');

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

27 Jan 2010, 7:42 AM
#3
aminut avatar

aminut

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

Re: Compulsory Field

dbltoe:

Edit your english.php file in your includes/languages/CUSTOM/ directory and remove the * on line 230 where it says

define('ENTRY_CITY_TEXT', '*');

Thanks dbltoe for you reply.
I have cleared the asterisk but it doesn't seem to help.
Is that what I supposed to do?

regards