Dear Openforis Team In my survey new trees shall get an automatically generated ID (1, 2, 3...). For this I created a Number Attribute field and checked "Calculated". How do I define the Expression so that the ID always rises +1. Thanks for your help, Sabrina
Accepted answer
Hi Sabrina,
checked as "Calculated" it is not necessary. In "Default Value" you have to write Expression
math:max(parent()/tree/tree_id)+1
where: "tree" is Entity name "tree_id" is Number attribute name
best regards beka