Trigger form submit without sumit button

Hey folks, I’m implementing a form with no fields, just file uploads. Since there is no submit button, I’m having a hard time figuring out how to trigger the save event. Can someone help me? It looks like I need to hook some JS for that, but don’t know how.

Would auto upload work for you? Then you could set auto_upload: true and register your own progress handler like in the example from allow_upload/3.
If not, when and how should the form submission be triggered?

Thank you. That did the trick.

1 Like