The birthday is actually pretty simple.
You just need to drop
PHP Code:
elseif(preg_match('/[01]\d\/[0123]\d\/19\d\d|20[012]\d/', $birthday)){
$this->seterror("Please enter your birthdate in the format provided.");
return FALSE;
}
into the birthdayvalidate function in the same file.
EDIT:
It looks like I was wrong. You need to partially re-write the birthdayvalidate function like so:
PHP Code:
protected function birthdayvalidate($birthday = ""){
$lang = Registry::get("lang");
if(empty($this->value['birthday'])){
$this->seterror($lang->birthday, TRUE);
return FALSE;
}
if(preg_match_all('/[01]\d\/[0123]\d\/19\d\d|20[012]\d/', $birthday)){
return TRUE;
}
else{
$this->seterror("Please enter your birthdate in the format provided.");
return FALSE;
};
}