Get filepath of uploaded images with javascript

Home Forums Quform WordPress Get filepath of uploaded images with javascript

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36653
    wundersee
    Participant

    Hi,

    I’ve created a multi-step form. In the final step the form displays the data that the user entered into the form. I copy the input values with jQuery, but I don’t get the data of upload fields/ images. How is it stored?

    Are the images already temporarily uploaded? Because the spinner, when I click “next” looks like the images are getting uploaded.

    jQuery for input fields look like this: $(‘.quform-confirm-field-2_9’).text($(‘.quform-field-2_9’).val());
    This doesn’t work for image uploads.

    I would appreciate help

    Regards,
    Andi

    #36661
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #36674
    wundersee
    Participant

    Works perfectly. Thank you

    #36767
    wundersee
    Participant

    Hi,

    Unfortunately, the code only works for simple image uploads. How do I need to adjust the code for multiple image uploads? In my case, it needs to support uploading a maximum of 8 files.

    Thanks again for your help.

    #36768
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy