Hallo zusammen,
setze die Extension th_mailformplus ein und möchte nun bei für das Feld Telefonnummer in meinem Formular die Eingabe auf Gültigkeit prüfen. Lt. Anleitung zur Extension kann hierzu im Template-Setup ein regulärer Ausruck angegeben werden, der geprüft wird.
plugin.tx_thmailformplus_pi1.fieldConf {
phone {
errorCheck = ereg:^[\d\(\)\/]{4,13}$
}
}
Typo3 quittiert mir diese Angabe jedoch mit der Fehlermeldung
Warning: ereg() [function.ereg]: REG_EBRACE in /VERZEICHNISNAME/typo3conf/ext/th_mailformplus/pi1/class.tx_thmailformplus_pi1.php on line 2770
Warning: Cannot modify header information - headers already sent by (output started at /VERZEICHNISNAME/typo3conf/ext/th_mailformplus/pi1/class.tx_thmailformplus_pi1.php:2770) in /VERZEICHNISNAME/typo3_src-4.1.1/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2898
Setzt jmd. die Extension ein und hatte vielleicht schon einmal ein Problem mit regulären Ausdrücken ?
Liebe Grüße,
Michael