How to represent Line number in the(begin repeat) set of questions

My requirement :

LINE NO. (A1) NAME OF CHILD (A2)

Line no: Name of the child
1 ___________________
2 ___________________
3 ___________________
4 ___________________

I want to collect name of the child 'n' number of time, but i don't want collect the Line no.
So when i collect the child name
an auto generated field is use to get Line no.

Can some please help me to get this solution...

Thanks

Hi Kanhu,

If you're using the latest XLSForm and Collect, I believe that you can have
a calculate field within the repeat group with the following calculation
expression:

position(..)

That will then contain the index number of the current repeat instance.
Give that a try.

Best,

Chris

ยทยทยท On Wed, Aug 14, 2013 at 5:33 AM, Kanhu Bhol wrote:

My requirement :

LINE NO. (A1) NAME OF CHILD (A2)

Line no: Name of the child
1 ___________________
2 ___________________
3 ___________________
4 ___________________

I want to collect name of the child 'n' number of time, but i don't want
collect the Line no.
So when i collect the child name
an auto generated field is use to get Line no.

Can some please help me to get this solution...

Thanks

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.