Forums / General Questions / how to make a custom field mandatory?

how to make a custom field mandatory?

Locked

Started by alexsmith2709 on 13 May 2010, 2:06 PM · Views: 856

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 May 2010, 2:06 PM
#1
alexsmith2709 avatar

alexsmith2709

New Zenner

Join Date:
May 2010
Posts:
36
Plugin Contributions:
0

how to make a custom field mandatory?

Hi,
Im using zen-cart 1.3.9b and i have created a custom template (called sdmc if it helps to name any file paths).

I have tried searching but found no answer (or atleast one i can properly understand).

I have created a custom field on my create account page and i would like to know how to make this field mandatory.
The instructions i used to create this field are located here

I have tried looking at the code to try and figure it out by myself but i dont get anywhere!

Any help would be great.

Thanks

13 May 2010, 2:35 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: how to make a custom field mandatory?

Al,
I would first use the admin panel/ tools/ developers tool kit

  1. search for:
  2. telephone number
  3. This is not an easy task because you will notice all the .php files associated that are needed.

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.

19 May 2010, 3:52 PM
#3
alexsmith2709 avatar

alexsmith2709

New Zenner

Join Date:
May 2010
Posts:
36
Plugin Contributions:
0

Re: how to make a custom field mandatory?

sorry for the delay in reply, ive been a bit busy at work recently.
I have done this haredo and i only get a couple of results, none of which help me.
I believe ENTRY_TELEPHONE_MIN_LENGTH would help me but i cant find where the minimum length is defined.