Dynamic selectlist with repeating value based on table-column.
In a form, I want the user to be able to choose the number of places. To make it easy from a UX perspective, I want a select list for this. Here, the number of places from one upwards displays. Maximum number of places should be dynamic, based on the column. How do I do this? I suspect I will create some kind of repetition.