How do I update the index number of each entry in a collection?

Hi everyone, I have a collection of detailed movie cards. But I need to set up the correct index sequence for these cards. When each card is created, it’s assigned a number, and they’re listed sequentially: card 1, card 2, and so on. The problem is that when a user deletes one of the cards, its index number is also deleted, but the others remain with the same index numbers, resulting in an unsightly gap, like first 1, then 2, then suddenly 4 (if you delete card 3). Can anyone tell me how I can update these index numbers when deleting, so that each card has its own index number, from the first created to the last? As far as I understand, there’s no function to update the index number of the last created entry when deleting the current one. Is there a workaround? I’d be very grateful for your help!

I am guessing here,

Try using two collections, and a relationship?

  1. card
  2. index number

@Dilon maybe this is a feature we can add in the road map requests to have default index numbers in a list

1 Like