[TYPO3-dev] Validate e-mail in backend when adding a record

Olle Haerstedt o.haerstedt at bitmotion.de
Thu Oct 9 10:20:23 CEST 2014


Hi!

Thank you, I did this. Do you think a pull request would
be accepted? It's a small change, and I think it should be
part of the system.

Olle

Quote: Patrick Schriner (pschriner) wrote on Wed, 08 October 2014 17:45
----------------------------------------------------
> Afaik there is no standard way - some time ago some effort was put into  
> this but nothing was merged (1,2).
> 
> You can however add your own email eval helper:
> 
> 3)  
> http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Input/Index.html#eval
> 4) http://typo3-blog.net/tutorials/news/eval-funktion-tca-array.html
> 
> Patrick
> 
> 1) http://forum.typo3.org/index.php?t=msg&goto=453651&
> 2) https://forge.typo3.org/issues/15147
> 
> On Wed, 08 Oct 2014 15:24:57 +0200, Olle Haerstedt  
> <o.haerstedt (at) bitmotion.de> wrote:
> 
> > Hi!
> >
> > When adding a record in the backend, the domain class doesn't
> > seem to be used. I need to validate an e-mail address - what's
> > the standard way to do this? Since the domain class is not used,
> > I can't use `@validate EmailAddress`, can I?
> >
> > Regards
> > Olle
----------------------------------------------------





More information about the TYPO3-dev mailing list