Project

General

Profile

Actions

Feature #99345

open

Disallow duplication for each form definition

Added by Mario Lubenka almost 2 years ago. Updated 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Start date:
2022-12-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
8.1
Tags:
Complexity:
medium
Sprint Focus:
On Location Sprint

Description

We provide some forms via our TYPO3 extensions that we do not want the editors to copy forms from.

This is mainly because we use custom finishers we explicitly do not want to provide to the Form Editor.
Saving a form with finishers not listed in the editor results in an exception.
I think this issue goes deeper in the structure of the editor.

That's why for now I'd love a new setting to disable duplication per form definition YAML file.
Example:

identifier: ext-form-simple-contact-form-example
label: 'Simple Contact Form'
prototype: standard
type: Form
disableDuplication: true

Forms with this setting wil throw an error when the editor tries to duplicate it. Also the "Duplicate this form" setting will not be rendered in frontend.

Actions

Also available in: Atom PDF