Auto-generate minimum count with function

  • Asked
  • Active
  • Viewed 522 times
0

Hi OF Team,

I collect data for individual trees using a multiple entity. I would like the min-count of this multiple entity to automatically populate. This is similar to the "enumerate" functionality, but I need to maintain the ability for the user to add new records beyond the number specified with min-count. I use the expression categoryItemProp() to lookup the expected number of trees stored as an extra property for the sampling location.

This was possible in Collect (circa 2023), but has not been possible in Arena. Thank you for considering!

Bryant

1

Accepted answer

Dear Bryant,
We are currently working on this feature. To keep things clear for the user, we will add an "Auto-generate minimum number of items" option in the entity definition editor.
The minimum row generation (based on your defined expression) will trigger only when the table or form becomes relevant, or when its parent entity is created. Handling it at this stage avoids potential edge cases and keeps the workflow clean.
We'll let you know as soon as it's ready for testing!
Many thanks,
The Open Foris Team

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.