S3 multiple upload, changing text

I’m using the S3, multiple file upload.
The intention is to give people the option to upload a receipt and if they need to use more than one picture for the one receipt thing and upload multiple shots.

But, after each photo the text says the same thing (see image). How do I make that text appear, but not beside every single occurrence of a photo uploaded?

Hi there @sophos707!

I’m guessing the image you show is some kind of repeat, which will have a $index variable associated with it.

What I do in this situation is to insert a paragraph tag showing the value of $index, and come up with a maths formula which you add to a dmx-hide which hides the message after the first one has been shown.

If for example the repeat is on the array receipts_uploaded, it will be of the form:

dmx-hide=“$index>receipts_uploaded.count()”
1 Like