Feature #99384
closedDynamic refresh instead of save and reload in backend forms with displayCond and reload
0%
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
Updated by Sybille Peters almost 2 years ago
- File tca_displaycond_javascript.gif tca_displaycond_javascript.gif added
- Description updated (diff)
Updated by Sybille Peters almost 2 years ago
- File tca_display_cond_classic.gif tca_display_cond_classic.gif added
- Description updated (diff)
Updated by Sybille Peters over 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)
Updated by Sybille Peters over 1 year ago
- Related to Epic #93528: Backlog of UX ideas for Editors added
Updated by Sybille Peters 6 months ago
- Related to Feature #103917: Make it possible to add elements to the result array in FormEngine for all fields added
Updated by Gerrit Code Review 6 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84404
Updated by Gerrit Code Review 6 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84404
Updated by Gerrit Code Review 6 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84404
Updated by Gerrit Code Review 6 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84404
Updated by Sybille Peters 6 months ago
Patch abandoned: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84404
Updated by Sybille Peters 6 months ago
- Status changed from Under Review to Rejected