Updating a list of items in an order

Hey, I have a list of items, each item with an order field that stores a number for that item so that a list can be sorted by that field.

Problem: When I delete 1 item in that list, I can’t find a way to update the order fields of the remaining items. In the screenshot below I deleted the second item in the list and need to update the rest of the steps.

I want this functionality, because eventually I also want to implement drag and drop reordering of steps.

Thanks for the help in advance.

PS I tried to follow the docs on the toolbox server side action, by trying to find the index of the array and using the index to update the order of the item, but was not able to produce anything helpful,

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