I have a form that allows members to enter some details as well as optionally upload an image. This is all stored in a database and the file uploaded to a specific folder.
The form works correctly in that it uploads the image, and when edited displays the previously uploaded image as well as allowing members to upload a replacement image, but if no new image is selected it also retains the original image.
But I can't now figure out how to allow the member to remove an uploaded file if they want.
Any ideas would be greatly appreciated.
The form works correctly in that it uploads the image, and when edited displays the previously uploaded image as well as allowing members to upload a replacement image, but if no new image is selected it also retains the original image.
But I can't now figure out how to allow the member to remove an uploaded file if they want.
Any ideas would be greatly appreciated.
Hi Jeff,
I think that you'd need to add a 'delete me' check box next to the displayed image and then use a Custom Code action to delete the file if it's checked.
Bob
I think that you'd need to add a 'delete me' check box next to the displayed image and then use a Custom Code action to delete the file if it's checked.
Bob
This topic is locked and no more replies can be posted.