[TYPO3-core] RFC: #11201: Feature: add eval email

Steffen Kamper info at sk-typo3.de
Wed May 27 13:36:28 CEST 2009


Hi,

Johannes Feustel schrieb:
> evalFunc_email doesn't test if a tld exists. Why not using RegExp like
> /^([\w]+)(\.[\w]+)*@([\w\-]+\.){1,5}([A-Za-z]){2,4}$/;
> (copied from ExtJS) or using ExtJS validation directly?
> 

i didn't want to run in same problems we had before in php with reg 
exp., so JS-test is very simple:
does @ exist, does . exist, don't start with @, don't end with .
The deeper validation is done php-side.

We don't use ExtJS for now in TCEFORMS, but i check this in the 
javascript branch. Will come in 4.4 ;)

vg Steffen


More information about the TYPO3-team-core mailing list