Hallo
kann es sein dass in der Ext pil_mailform ein Bug in der eMail Validierung liegt ?
wenn man andre Required Felder nochnciht ausgefuellt hat und eine valide eMail eingibt gibt die Ext die Meldung aus dass die eMail nicht valide sei.
habe im Code mal nach entsprechender Stelle gesucht und
// If [email] field not empty, email must be valid
if (!empty($this->piVars['text']['email'])) {
if (!$this->check_email($this->piVars['text']['email'])) {
$this->errForm = true;
$markers['###EMAIL_ERR###'] = $this->localconf['errorSubstitution'];
}
} else {
$subMarkers["###HEADER_EMAIL_INVALID###"] = '';
}
durch
// If [email] field not empty, email must be valid
if (!empty($this->piVars['text']['email'])) {
if (!$this->check_email($this->piVars['text']['email'])) {
$this->errForm = true;
$markers['###EMAIL_ERR###'] = $this->localconf['errorSubstitution'];
}
else {
$subMarkers["###HEADER_EMAIL_INVALID###"] = '';
}
} else {
$subMarkers["###HEADER_EMAIL_INVALID###"] = '';
}
ersetzt
damit klappt es bei mir
Gruessle Tom