Actions
Feature #60908
openProvide Evaluation of TCA select fields
Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2014-08-12
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Currently, it is not possible to require a (single) select field as mandatory, meaning non-empty or required in TCA. An "eval" property simply does not exist and is ignored if given.
Example:
'owner' => array( 'exclude' => 1, 'exclude' => 0, 'label' => 'Owner', 'config' => array( 'type' => 'select', 'foreign_table' => 'tx_myext_domain_model_owner', 'size' => 1, 'autoSizeMax' => 30, 'items' => array( array('', ''), ), 'maxitems' => 1, 'minitems' => 1, 'multiple' => 0, 'eval' => 'required,notEmpty' ), ),
That is really lame :-) A CMS must provide at least basic evaluation options for all input types.
Files
Actions