eca_form: Impossible or hard to identify an inline entity form

Created on 16 March 2023, almost 2 years ago
Updated 22 March 2023, almost 2 years ago

Problem/Motivation

The Inline Entity Form module enables to embed entity forms into entity forms. ECA Form events can currently also be applied to such inline entity forms.

However, it's currently hard (or even impossible?) to distinguish within an ECA process, whether the form is an inline entity form. That may lead to the situation, that a user may want to display a form element in the "main" form, but not in the inline entity form - but since it cannot distinguished, the form element will also be displayed in the inline entity form.

It's hard to identify an inline entity form, because it neither provides its own form ID nor does it provide its own form operation.

We need a concept for an easy distinguish between "main" entity forms and inline entity forms.

Steps to reproduce

Proposed resolution

I'm not sure yet. We could add an option to any form event, that allows to enable the event for inline entity forms. Not sure though whether that's the right approach. Suggestions welcome.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.2

Component

Miscellaneous

Created by

🇩🇪Germany mxh Offenburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024