#83997Little Thing on using flexforms displayCond
Description
Its just a little thing which bothers me a bit. Maybe i dont understand this behaviour correctly. I will explain.
If i use displayConds and onChange=“reload” on backend fields there is an popup which asks me
“Diese Änderung wird die im Formular verfügbaren Felder beeinflussen. Möchten Sie jetzt speichern, um die Anzeige zu aktualisieren?”
In this Case i can sys “ok” and the form reloads or i can say “cancel” and ther form does not reload, but the choosen value which triggered this popup is changed.
In my oppinion the fields value should be set back to the last choosen to show the correct fields.
Maybe its even better to remove the “cancel” option in the popup because you HAVE TO reload the form to see
the changed fields. Maybe this “popup” can completely removed in this case.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 5
-
Stephan Großberndt changed Duplicated by #83999 <span data-processor="relativetime" data-value="2018-02-21T13:59:35+00:00" > 02/21/18, 13:59 </span>
-
Stephan Großberndt changed Duplicated by #83996 <span data-processor="relativetime" data-value="2018-02-21T14:00:40+00:00" > 02/21/18, 14:00 </span>
-
Stephan Großberndt changed Duplicated by #83995 <span data-processor="relativetime" data-value="2018-02-21T14:00:48+00:00" > 02/21/18, 14:00 </span>
-
Benni Mack commented and changed status
NewRejected <span data-processor="relativetime" data-value="2025-04-01T13:41:52+00:00" > 04/01/25, 13:41 </span>Hey Maik,
closing this ticket now. We didn’t manage to solve this in a better way than this. In general “onChange” is a leftover of the current FormEngine proposal. This is technical debt from 20+ years, I think we’d need a 100% rewrite of FormEngine to make this possible.
I think the current implementation if “onChange” simply reloads the site. Doing this means, the form is not submitted and already changed values are not saved. Thus information would be lost if no popup is shown. Instead of triggering a site reload, the form should be submitted and reloaded.