Hi,
I'm using 1.6.0.11 and I want to make the field "Birthday" mandatory when I create an new account.
I made some changes in:
Classes/Customer.php:
'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate', 'required' => true),
and in:
themes/authentication.tpl:
{$HOOK_CREATE_ACCOUNT_TOP}
‘Date of Birth’.
<div class = “required form-group”> and added an * … s=’Date of Birth’} <sup>*</sup></label>
So, by creation the asterisk is there and the inputs are required.
BUT if I want to save the account it results in: "1 error - Birthday is required" even when I filled in the fields and saves nothing.
What have I forgotten?