repeat-count-demo
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDE
1
typenamelabelrepeat_countcalculation
2
noteintroRepeat count is truly dynamic in Enketo. To avoid data loss by accidentally removing repeats with data, it is recommended to use a _confirmation mechanism_ for updating repeats. This mechanism is demonstrated below.

[Form Source](https://docs.google.com/spreadsheets/d/132dvmd73Y4fBQbv9cZs1JrDcY3C0y2dt2_IkMMuFJQc/edit?usp=sharing)
3
integercountHow many children?
4
integercount_confirmPlease confirm number of children
5
calculatecount_proceedif(${count} = ${count_confirm}, ${count}, count(${rep}) )
6
begin_repeatrepChildren${count_proceed}
7
texttxtName of child
8
integernumAge of child
9
end repeat
Loading...
 
 
 
survey
choices
settings