How can I modify the code so it does not check the format on the birthday field.
I want to use it for some other number so I don't need to be exactly like 6/06/2009, rather only a number 123456
thank you
Adrian
How can I modify the code so it does not check the format on the birthday field.
I want to use it for some other number so I don't need to be exactly like 6/06/2009, rather only a number 123456
thank you
Adrian
Could you provide a link to your site?
In almost all cases, the DOB field isn't necessary, and can be turned off in admin.
I would like still to use it, but for something else.
Like an association number, since each of my members uses association numbers.
thanks
Adrian
THis is also a great example of asking a question different from what you want to know.
It looks like you really don't want to re-program the DOB field, but want a number associated with each customer.
Try describing exactly what you want to do, and I'd guess someone here will have a suggestion for you.
http://www.zen-cart.com/index.php?ma...roducts_id=587
This module will help you add additional custom fields to the account form.
~Melanie
PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
**I answer questions in the forum, private messages are not conducive to a helpful community.
thank you for the modul, I will try it out.
To describe the date questions. I want to eliminate the script checking the format of the entry x/xx/xxxx . Since I want to user to be able to type numbers or letters.
The date fields is in 90% not usefull anyways.
thanks
Adrian
Is it not easier to just disable the script checking the specific date entered?
I read that custom modules can cause problems.
To enable the customer to add the date of birth as optional, you just need to configure the DOB correctly ...
Go to the Configuration ... Customer Details ... and set to: true
Now go the the Configuration ... Minimum Values ... and set to blank, not 0 but blank as in nothing in the input box, as instructed:Date of Birth
Display date of birth field during account creation and with account information
NOTE: Set Minimum Value Date of Birth to blank for not required
Set Minimum Value Date of Birth > 0 to require
Now the date of birth will display, but is not required ...Date of Birth
Minimum length of date of birth![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
thanks :)
but will it still need if entered to be the specific xx/xx/xxxxx format?
I would like this field do be used as alpha numeric, not only as strictly date type.
Adrian