contao/core — Issue #3813: generateSaveButton for field evaluation
Author: rogerramjet
Created: 2012-01-15 01:21:30+00:00
State: open

I think it would be handy to be able to generate a "Save" button immediately AFTER a field - using something like generateSaveButton=>true in the fields evaluation array.

As we cannot use submitOnChange with a multiple select, and often a form can be very long - a submit button associated with a particular field would be useful UX-wise.

In my case, I want the whole form submitted immediately after changes are made to the multiple select - so that palette changes can be made on reload.
It is not obvious to the user to do so, nor easy even if he does realize as he has to scroll a long way (and may be tempted to fill out other fields in the process of doing so, which I do not want)
A submit button "attached" to the field would make it far more obvious that this action is required.

This may also help with this issue https://github.com/contao/core/issues/574 which also affects multiple select fields.