Project

General

Profile

Actions

Feature #99384

open

Dynamic refresh instead of save and reload in backend forms with displayCond and reload

Added by Sybille Peters over 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-12-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
backend ux, backend usability, backend user interface, TCA, FormEngine
Complexity:
Sprint Focus:

Description

In TCA it is possible to make form fields disappear based on the conditions of other fields (displayCond).

For this to work, you have to add a "reload" to the field it depends on so that the form will be saved and reloaded.

problems

  • the dialog asking if one should save and reload is annoying when one is still filling out the fields
  • in some cases it is unnecessarily displayed (e.g. if some fields are displayed depending on what is seletected in a list and not all changes in the list need the reload)
  • the field is saved even though the editor is not done
  • feels clunky and not editor friendly

Preferred change

Suggested alternative would be to do this behaviour in JavaScript in the core so the form is dynamically displayed.

Alternatives as developer

1. use displayCond and reload for the fields which should be displayed conditionally. Which means a dialog will appear on every change asking if we should continue, even for the selections where it is not relevant
2. Just show all the fields which clutters the user interface with unused options.
3. Write the code to display fields conditionally in JavaScript yourself which is extra work and makes the extensions difficult to maintain. For example if you change the field type you might have to adapt the JavaScript code.
4. Other solutions???


Files

tca_displaycond_javascript.gif (162 KB) tca_displaycond_javascript.gif Sybille Peters, 2023-01-05 16:16
tca_display_cond_classic.gif (950 KB) tca_display_cond_classic.gif Sybille Peters, 2023-01-05 16:24
dialog_refresh_save_cancel.png (10.9 KB) dialog_refresh_save_cancel.png Sybille Peters, 2023-04-23 07:36

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Epic #93528: Backlog of UX ideas for EditorsNew2010-11-11

Actions
Actions #1

Updated by Sybille Peters over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Sybille Peters over 1 year ago

  • Description updated (diff)
Actions #5

Updated by Sybille Peters about 1 year ago

  • File dialog_refresh_save_cancel.png dialog_refresh_save_cancel.png added
  • Subject changed from Dynamic refresh instead of save and reload in backend forms with displayCond and reload for smoother user experience to Dynamic refresh instead of save and reload in backend forms with displayCond and reload
  • Description updated (diff)
Actions #6

Updated by Sybille Peters about 1 year ago

  • Related to Epic #93528: Backlog of UX ideas for Editors added
Actions

Also available in: Atom PDF