Feature #80407

Exclude options from overrides

Added by Mathias Brodala over 2 years ago. Updated 7 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
Category:
Form Framework
Target version:
-
Start date:
2017-03-23
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be useful if one could exclude options specified in a form definition from overrides.

Right now one only has the option to not specify an option at all which prevents it from showing up in the plugin FlexForm. There is no way to set an option and prevent overrides by FlexForm.

History

#1 Updated by Ioulia Kondratovitch 10 months ago

At least now you can achive this by using the code below (example) within your customized FormEngineSetup.yaml
Works both for TYPO3 8 and 9.

TYPO3:
  CMS:
    Form:
      prototypes:
        standard:
          finishersDefinition:
            EmailToSender:
              FormEngine:
                elements:
                  recipientAddress: ~
                  recipientName: ~
            EmailToReceiver:
              FormEngine:
                elements:
                  recipientAddress: ~
                  senderAddress: ~
                  senderName: ~
                  replyToAddress: ~
                  translation: ~

#2 Updated by Mathias Brodala 7 months ago

  • Status changed from New to Accepted
  • Assignee set to Bjoern Jacob

Yeah, that's basically what I did in the end and it works perfectly fine, also in the latest master.

So from my POV documenting this as HowTo would be enough.

Also available in: Atom PDF