Jump to content

Birthdate required in registration form


Feldmarschall

Recommended Posts

Hello everbody :) ,

 

I moved from prestashop 1.6.x to 1.7.x and I tryed to set the birdthday as required in the registration form. Unfortunatly the method of 1.6.x doesn't work anymore.

the only thing who working partialy is setting 'birthday' in customer.php to required, but it gives an error 500 back because of missing validations.

 

Does anyone knows how to set validations and highlight in red of the birthdate field in registration form?

 

thx

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...
  • 4 months later...

Go to: store parameters >> customer settings >> Ask for date of birth. Change to yes

That will not make birtdate as required I'm afraid. It will only show it on the registration form marked as optional. I would really appreciate if that option (making it required) is available. Stores that sell alcohol must have it.

Link to comment
Share on other sites

  • 3 months later...

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...