I’m trying to find the best way to create a list of things based on the quantity entered in to an input field. For example, if the user wants four sets of data, it would create a set labeled 1, one labeled 2 and so on, up to 4.
I have some ideas for how to do this, but they all seem really inefficient. I’m kind of assuming that it will need to involve an API workflow.
Based on the qnty entered … create a list of numbers (use the free plugin “toolbox”)
Send that list of numbers to a recursive api workflow that loops through each number … creating each of the objects that you need.
Here a couple of videos that talk about loop flows (recursive flows). Focus on the looping part and not on the other aspects of what the looping is doing on these videos:
You can also do browser loops using @keith 's awesome free plugin “ListShifter” (I am sure Keith would appreciate some Karma (as anyone would after investing so much time in building such a great tool!) but does not ever ask for it nor require it)
Thanks for including my looping video in your suggestions for the poster. That video was superseded by the one below and uses Keith’s ListShifter for looping on the front-end. It’s specifically for doing looping on the front-end rather than on the back-end using API Workflows.