Help: Removing an image from custom state's List?

Hello,

I have a screen on my app where a user can add pictures via fileuploader’s (up to 6 pictures).

Once added, there isa workflow that sets a custom state and adds the image into a list using :plusitem. See below:

There is also an option to remove any picture by clicking a “cross”. This will remove the image from the file uploader so that user can add another one. See below:

Issue: when the listing is posted on my website, the result shows all the images previously uploaded into the fileuploaders, including the ones removed by the user… I suspect this is because they are added into a list but never removed (only removed visually…).

Anyone could help to guide me on how I could both remove the picture visually (this works) and also from that list somehow? so that in the end only the relevant images get stored/ uploaded?

Thanks in advance!

Update: I have tried the below workflow to remove the image from the custom state’s image_upload:minus item but no luck the image still gets uploaded?
Any advices?

update: issue solved.
It seems like system was confused probably as some elements had similar names. I renamed all elements individually with unique names and now it works.
Best.

This topic was automatically closed after 70 days. New replies are no longer allowed.