Home Forums Plugin Support WP User Frontend Pro File is uploaded without submitting form

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  idkzhang 5 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7743

    idkzhang
    Participant
    Post count: 2

    Hi,

    Awesome plugin first of all, very easy to use and with superb functionalities.

    Everything is working the way it should, and I've only got one slight problem/annoyance so far.

    When a file is uploaded using the form, the file is sent whether or not the form is actually submitted. So, for example, if I go to a form, upload a file, and just refresh the page, without submitting, the file will still be uploaded. Is there an easy way to prevent this or remove the file if the form is not actually submitted?

    Really more of an annoyance than an actual problem, I am just worried about spammers.

    Thanks! =)

    #7843

    idkzhang
    Participant
    Post count: 2

    Sorry to have to bump this, is there a way around this problem? If not, it's okay.

    Thanks!

    #7973

    Tareq Hasan
    Keymaster
    Post count: 2831

    Hi, sorry for the long delay. I didn't noticed this topic.

    No, it's not possible. The files needs to be uploaded before you submit the form, right? But in any case if you don't submit the form, those images aren't attached to any posts. So you could delete the un-attached images. But that will create another problem as you can imagine. So, nope, it's not possible.

    #7975

    idkzhang
    Participant
    Post count: 2

    Okay, gotcha, thanks for the response!

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘File is uploaded without submitting form’ is closed to new replies.