I would like to implement some “auto-save” of a form: When an input field is left (on blur), I would like to submit the form.
Of course, this can be done with Agile UI now (
$input->on('blur', $form->js()->form('submit'));) but: Whenever the form is submitted, the view of the form is reloaded. This is definitely annoying when trying to work with that
So, what I would like to do is to submit the form “silently”, without reloading the view. An easy way to do this? Simply adding a parameter would be THE way