Thursday, April 19, 2012

Birth date issue while creating new customer account

when i try to create a new customer account and i enter birth date as 09/30/1987(mm/dd/yyyy) format.it shows me an error message as:"Please enter a valid full date".
To Resolve this error:



I changed line 437 in /js/varien/js.js


from: 
var error = false, day = parseInt(this.day.value) || 0, month = parseInt(this.month.value) || 0, year = parseInt(this.year.value) || 0;


to: 
var error = false, day = parseInt(this.day.value, 10) || 0, month = parseInt(this.month.value, 10) || 0, year = parseInt(this.year.value, 10) || 0;


Now,Customer account created successfully.

No comments:

Post a Comment

Fatal error: Class Zend\Stdlib\Parameters contains 1 abstract method... magento 2

Fatal error: Class Zend\Stdlib\Parameters contains 1 abstract method and must therefore be declared abstract or implement the remaining met...