Replies: 1 comment
-
You say the files aren't stored and Filepond gives you a success message - is the rest of the form submitted or not? I implemented Filepond back in the v2 days on a project and I created a separate endpoint for the files to upload to. From that, I then had the path that could be used when submitting the form. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I'm trying to upload multiple files with Filepond (https://pqina.nl/filepond/).
I've created a Statamic form with an Assets Field (handle name
files
) and replaced the default and classic input (type: file) with Filepond (see: https://pqina.nl/filepond/docs/getting-started/examples/replace-file-input/). Worked like a charme and the uploaded files are stored in a disk/asset driverassets:applications
.Now I'm trying to upload my files asynchronosly (see: https://pqina.nl/filepond/docs/getting-started/examples/async-upload/).
I've added the CSRF Token, but whenever I submit the whole form the files aren't stored although Filepond returns no errors and it seems that Filepond uploaded the files without problems.
That's the code:
and
Do you have any ideas what I'm dong wrong?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions