Jump to content

How to remove only birthday year from new account form and validation?


buzzworm

Recommended Posts

Hi everybody,

I would like to leave the birthday month and day on the "Create an Account" page, but remove the year. I've commented out the year already on the three forms

authentication.tpl
order-opc-new-account.tpl

identity.tpl

but get "invalid date of birth" when saving a month & day, because of the blank year.
 
I don't want to ask customers their age by asking for the year, but would like to retain the the month & day for birthday marketing purposes.
 
Any hints on how to remove the year without removing the birthday month and day? Possibly defaulting to some value "under-the-hood"?
 
I'm using 1.6.0.6
 
thanks
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...