How to fix Make.com not separating image name and data from Memberstack image uploader forms? Answered

Post author
Haz B

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

  • Comment author
    Yacine Null

    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 😉

    0
  • Comment author
    Haz B

    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

    0

Please sign in to leave a comment.