TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,40 @@
.. include:: /Includes.rst.txt
.. _feature-62147:
===============================================
Feature: #62147 - New eval option in TCA: email
===============================================
See :issue:`62147`
Description
===========
A new option has been added to the eval field: email. This will
check if the entered value is a valid e-mail address server-side.
If not, a flash error message will be shown.
Usage:
.. code-block:: php
'email' => array(
'exclude' => 1,
'label' => 'LLL:EXT:wd_products/Resources/Private/Language/locallang_db.xlf:tx_wdproducts_domain_model_contactperson.email',
'config' => array(
'type' => 'input',
'size' => 30,
'eval' => 'email,trim'
),
)
Impact
======
Users don't have to write their own validation classes for e-mail validation.
.. index:: TCA, Backend