Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I have a file upload field in my form, and I was wondering if I could "cache" or something the file before it gets saved to the server. so that the user could upload multiple files at once.
does that make sense?? is it even posible?
Hi Christian,
You could handle this using the 'multiple' attribute of the File Upload input control.
See link below: https://www.w3schools.com/tags/attinputmultiple.asp
You would then handle the multiple files in code, by looping through them and processing however you want etc.
You could also, use a library like Dropzone.js which is pretty neat!
Thanks
Craig
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
file upload button
Hi, I have a file upload field in my form, and I was wondering if I could "cache" or something the file before it gets saved to the server. so that the user could upload multiple files at once.
does that make sense?? is it even posible?
Hi Christian,
You could handle this using the 'multiple' attribute of the File Upload input control.
See link below: https://www.w3schools.com/tags/attinputmultiple.asp
You would then handle the multiple files in code, by looping through them and processing however you want etc.
You could also, use a library like Dropzone.js which is pretty neat!
Thanks
Craig
is working on a reply...