Issue Feature Closed

#87117FormEngine: disable/hide not used/necessary form elements fields automatically based on site configuration

Josef Glatz 12/10/18, 12:20 updated 11/14/26, 20:12

Description

Problem/Description

Would it make sense

  • to hide all language/localization/translation specific formEngine fields
  • in the backend
  • if only one language is defined within the site configuration for the actual pagetree

?

—-

Benefits

From a UX perspective, this could be a real benefit. The TYPO3 integrator override this functionality for example via TsConfig or a siteConfiguration setting. Actually it was not really possible to hide those specific fields, as these are necessary even if you have only 1 language.

—-

What to do with records which don’t have a correct language

We can show them in the page module in a different area for example: “These records have a language set whicih is not configured in this page tree”

Same goes for the list view module.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 9

  1. Josef Glatz changed subject FormEngine: disable/hide localization/translation/language specific form elements automatically if only one language is set in the site configuration of the actual site configuration FormEngine: disable/hide not used/necessary form elements fields automatically based on site configuration <span data-processor="relativetime" data-value="2018-12-11T08:27:00+00:00" > 12/11/18, 08:27 </span>

  2. Georg Ringer commented <span data-processor="relativetime" data-value="2018-12-11T14:01:03+00:00" > 12/11/18, 14:01 </span>

    the only drawback I see is that it will also remove the “all language” selection. a possible use case could be that someone wants to create content for a site which will get more languages in the future.

  3. Josef Glatz commented <span data-processor="relativetime" data-value="2018-12-12T23:08:31+00:00" > 12/12/18, 23:08 </span>

    Georg Ringer wrote:
    > the only drawback I see is that it will also remove the “all language” selection. a possible use case could be that someone wants to create content for a site which will get more languages in the future.

    Therefore such feature should be possible to deactivate via TSConfig or any equivalent stuff

  4. Georg Ringer commented and changed status Accepted Closed <span data-processor="relativetime" data-value="2026-11-14T20:12:37+00:00" > 11/14/26, 20:12 </span>

    This has been implemented in v14.2 with #109366 “Hide form fields with no selectable items”: fields of type=language are no longer rendered in FormEngine if only a single language is configured for the site. The special “All languages” item (-1) is not counted as a choice, so the field is hidden for sites with only one real language and shows up again as soon as a further language is added.

    For regular backend users the field is removed completely. With backend debug mode enabled, it is kept as read-only with an info badge so that administrators can still see it. Integrators can opt out per field with the TCA option showIfEmpty.

    The proposal to list records with a no longer configured language in a dedicated area of the page and list module is not part of this change. Please open a separate issue if you want to follow up on it.

    Closing this one as resolved. Thanks again!