Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

No customer registration possible if birthday given 1.2.0.2
 
array2
Jr. Member
 
Total Posts:  18
Joined:  2008-08-30
 

Hi there

if users tries to register as a new customer and gives his birthday, the submit button is dead.
If no birthday is given, the registration works.

Any hint is greatly appreciated.

Thanks

Martin

 
Magento Community Magento Community
Magento Community
Magento Community
 
lllk
Jr. Member
 
Total Posts:  13
Joined:  2009-04-25
 

This is exactly my problem! Any solutions found yet?

 
Magento Community Magento Community
Magento Community
Magento Community
 
lllk
Jr. Member
 
Total Posts:  13
Joined:  2009-04-25
 

I found the solution!

In template/customer/widget/dob.phtml change the following:

//<![CDATA[
var customer_dob = new Varien.DOB('.customer-dob'<?php echo $this->isRequired() ? 'true' 'false' ?>);
 
//]]>

to

//<![CDATA[
var customer_dob = new Varien.DOB('.customer-dob'<?php echo $this->isRequired() ? 'true' 'false' ?>'<?php echo $this->getDateFormat() ?>');
 
//]]>
 
Magento Community Magento Community
Magento Community
Magento Community
 
chocopink
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2008-12-04
 

solved:  You have to remember to change the file for the template you are using as well, not just the magento default.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top