Remember uploaded image when form fails
-
On [event_form], when one adds an event’s details, including an image, submits the event, and then gets a notification that something needs to be adjusted before the event can be added, the uploaded image is not shown anymore at the event image section. However, according to $_FILES[‘event_image’], the image is already stored on the server.
I think I’ve seen a discussion somewhere related to this that there was some security reason why the uploaded file shouldn’t be shown. As there are dozens of sites that have implemented an upload that doesn’t forget the file when other parts of the form fail, and I couldn’t get my hands on that old discussion I remember seeing, I’d like to ask why doesn’t Events Manager remember and use that once-uploaded file when [event_form] submission fails?
The topic ‘Remember uploaded image when form fails’ is closed to new replies.