Issue #2760609 by Fabianx, stefan.r, chx: Allow the use of callbacks instead of global functions in parts of the Form API