Feature #84582

formEngine Evaluation "required" for SysFile Reference / sysFile Metadata properties with checkbox for "upper" evaluation

Added by Josef Glatz over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2018-04-03
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Problem/Description

Scenario:

  • tt_Content CType "Downloadbox"
  • and you want to require the title property of the IRRE item
  • but an already set title from sys_metadata should also be taken into account by eval => 'required'
                    'columnsOverrides' => [
                        'media' => [
                            'config' => [
                                'overrideChildTca' => [
                                    'columns' => [
                                        'title' => [
                                            'config' => [
                                                'eval' => 'required',
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                    ],

Usecase scenario

  • Make sure that an editor fills out the title field of sys_file_reference to force a "nice" download link in the frontend for that FAL-reference if the title field in sys_file_metadata is also empty.

Acceptance Criteria

  • The evaluation "required" (or another named) should only throw a note (mark red) if there is no (e.g.) title set in sys_file_reference and sys_file_metadata

History

#1 Updated by Josef Glatz over 1 year ago

  • Description updated (diff)

Also available in: Atom PDF