Error with image uploading through Make form Answered
Hello, I am using make with memberstack's image uploader.
For some reason, now Im not getting the name and data separated out in make.com when I submit a form with an image, I now only the text of the image (second image) so i cant get any image data/URL. Please help?
Comments
2 comments
Can't you just do this client side on the frontend and send the name as a separate hidden input using. document.getElementById('fileInput').addEventListener('change', function(event) {
const file = event.target.files[0];
if (file) {
const hiddenInput = document.querySelector('input[ms="file-name"]');
hiddenInput.value = file.name;
}
}); or similar?
Using this snippet all you need to do is just add a hidden input with the attribute of ms="file-name" and you are good to go 😉
Thank you both for your suggestions. I did some troubleshooting and found it was because in webflow, the form method setting was set to GET rather than POST for some reason. it is now pulling the data as it should
Please sign in to leave a comment.