#111457Open the selected form in the form editor from the form content element
Description
Problem
The form content element (CType=form_formframework) only lets editors
pick a form from the select “Form definition”. To change the selected
form, editors have to leave the record, open the form module, find the
form again and come back afterwards.
Proposal
Add a field control “Edit in form editor” next to the form select in
@EXT:form/Configuration/FlexForms/FormFramework.xml@:
- It opens the currently selected form in the form editor. Closing the
form editor returns to the record. - It follows the current selection without a reload. It is disabled if
no form is selected or if the selected form may not be edited. - Unsaved changes in the record trigger the usual FormEngine dialog
before leaving. - Inside the contextual edit sheet of the page module, the form editor
opens in the content frame, and closing it returns to the page module
at the content element. - Whether a form may be edited is decided by
FormEditorLinkProvider(#111456): access to theform_editor
module, write access to the form storage and
allowSaveToExtensionPathsfor forms in extension paths. Without
access, the record looks exactly as it does today.
Add a field information below the select:
- “This form is used by N content elements. Changes affect all of
them.” if the form is used more than once (based onsys_refindex,
as the form manager counts references). - In a workspace: “Forms are not versioned. Changes in the form editor
are live immediately.”
Impact
Editors with access to the form editor can open the selected form
directly from the content element. A Feature changelog entry describes
the new control. No API change.
Reviews 1
History 13
-
Gerrit Code Review pushed patch set 1 for main to change 97679 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-15T15:51:21+00:00" > 11/15/26, 15:51 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97679 <span data-processor="relativetime" data-value="2026-11-15T16:12:08+00:00" > 11/15/26, 16:12 </span>
-
Josua Vogel commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-19T09:10:13+00:00" > 11/19/26, 09:10 </span>
Applied in changeset commit:ae2f9f32a0fd52f79f2302965e4ce9ed68c9cef5.