---
title: "Auto-generate minimum count"
url: "https://openforis.support/questions/3651/auto-generate-minimum-count"
tags: ["collect", "collectmobile"]
status: "answered"
score: 0
answer_count: 1
asked: "2023-05-10T19:14:10"
last_activity: "2023-05-11T11:55:39"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Auto-generate minimum count

Asked by bryant on 2023-05-10

Hello OF Team,

I am using the **min count** field to ensure that a minimum number of records are created within a table attribute. I would like the minimum number of records to be automatically generated, and so I have checked the box for "Auto generate minimum items", thinking that this would automatically create X number of rows. This does not happen in Collect or Collect Mobile. Am I understanding the functionality of this check-box correctly? I am using Collect 4.0.84 and Collect Mobile 1.7.9 [213]. Thank you!


## Answer (score 0, by Stefano (OF) on 2023-05-11)

Link: https://openforis.support/questions/3651/auto-generate-minimum-count/3652

Dear Bryant,  
Are you using an expression in the min count field? In that case it will work only in the validation of inserted rows, otherwise if you want rows to be automatically generated, you have to use a constant value in the min count field.  
Many thanks,  
Open Foris Team
