Project

General

Profile

Actions

Feature #23633

open

regex in TCA eval function

Added by Robert Heel over 13 years ago. Updated 10 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2010-09-28
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

Would be nice to use regex in eval to check values of input fields.

With the attached patch you can use
'eval' => 'trim,lower,/[a-z0-9 _-]*/'
in your TCA configuration.

http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.3.0/view/4/2/#id2520906

(issue imported from #M15836)


Files

eval_regex.diff (967 Bytes) eval_regex.diff Administrator Admin, 2010-09-28 19:04
Actions

Also available in: Atom PDF