I’m attempting to create a repeating group with drag-and-drop entries. I followed the instructions here as closely as possible: Drag - Drop Reorder Your Repeating Group
Unfortunately, something’s not quite right. When the elements are dragged around, their “order” empties and becomes null. This is the second time I’ve followed these instructions — what am I missing here?
Then, when the action in step 3 sets the order field to repeating group’s order, that value was never set in the workflow (I think why it’s coming up null):
It looks like the refresh action isn’t needed anymore so I removed that as well. Also, some of the Animals in the database didn’t have a number in their Order (the field was empty). I entered a number for each Animal manually, but you’ll want to make sure that when new animals are created, they are assigned a value for the Order field that isn’t the same as the others to ensure everything can be dragged and dropped correctly.
Thank you SO MUCH for taking time out of your day to help, Faye! This is admittedly my first time using custom states and drag-and-drop elements, but I’ve just learned a ton from your fix!!
I’ll now add a formula to create unique numbers (order:max+1) so that things run smoothly