Idea split from:
Use case from original post by
Additionally, not having a “min” and “max” number of repeats is VERY limiting. We frequently have too many or not enough repeat sections added, defeating the purpose of them except in rare cases when the number will vary. By controlling if the user should add a certain number of them (at least and/or no more than), we ensure they fully understand the inspection purpose and have completed it properly.
I would still want the user to click + for each one, so they can answer the set for the repeat they are on at the moment and not get confused. We often use repeat sections for things that happen over time and work within an inspection throughout the shift/day, so they click + to add one at the time they are about to do that set of questions. But with a Min/Max option, you get a ton of flexibility:
- Leave min and max empty = do not have to add any and have no restrictions (functions like today)
- Set a min and leave max empty = have to add at least that many but no upper restriction
- Set a max and leave min empty = do not have to add any but have an upper restriction
- Set a different min and a max = have to add at least that many but have an upper restriction
- Set the same min and max = have to add that exact number before it’s considered complete