-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to launch upload with submission? #3
Comments
try to send a broadcast signal on submitting your form:
something like:
pls let me know if it worked |
I also would like to know how to do this. On my endpoint i return back an id and need all the ids of the files being uploaded to make DB associations. Can you please elaborate on how to do this? Thanks! When using $broadcast('schemaFormFileUploadSubmit') it does upload all files but how can i get the responses? |
@saburab Not sure how you expect to see if the form is valid and move on. Because even though the $broadcast is uploading the files, the controller still continues to execute additional code before the files are finished uploading. |
Hello,
I succeeded in using your modules and it works perfectly. However I would like to use it in a form and the problem is that the user has to upload each file and then submit the form. Is it possible to launch the uploads with the form submission?
Thanks.
The text was updated successfully, but these errors were encountered: