Added insertText
Figure out multifield form slots automatically, and let submit function take a form as well as an event