Project

General

Profile

Actions

Feature #84582

open

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

Added by Josef Glatz over 6 years ago. Updated over 6 years ago.

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

0%

Estimated time:
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
Actions #1

Updated by Josef Glatz over 6 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF