Repeat group

Hello,
I have a repeat group wherein I collect data about children, one of the
fields is gestation age
am failing to create a constraint on gestation age, where if in the first
group gest age is 35 in the second group it should not be different
Any Help is welcome

Hi Kalande,
Do you want the gestation age of the first loop is the same than the second
loop or only if its value is 35

I want second loop gest to be same as first, so that incase someone enters
something diff in second loop it rejects, i.e using it as valudation check

··· On Jun 21, 2015 6:58 PM, "Pierre Anthony Garraud" wrote:

Hi Kalande,
Do you want the gestation age of the first loop is the same than the
second loop or only if its value is 35

--

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/d/optout.

Hi,
We assume Member is the name of your repeat group. You must a variable a
calculated variable "gest1" and in the calculation, put position(..).

if(position(..)=2,.=indeexed-repeat(${age},${Member},1),.<100)

Try this

Pierre

··· 2015-06-21 11:39 GMT-07:00 Ayoub Kakande :

I want second loop gest to be same as first, so that incase someone enters
something diff in second loop it rejects, i.e using it as valudation check
On Jun 21, 2015 6:58 PM, "Pierre Anthony Garraud" pagarraud1@gmail.com wrote:

Hi Kalande,
Do you want the gestation age of the first loop is the same than the
second loop or only if its value is 35

--

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/d/optout.

--

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/d/optout.

Hi,
We assume Member is the name of your repeat group. You must have a
calculated variable "gest1" and in the calculation, put position(..).
in the constraint of the variable age , put this formula :
if(position(..)=2,.=indeexed-repeat(${age},${Member},1),.<100)
I think i am clear now

Try this

··· 2015-06-21 11:46 GMT-07:00 Pierre Anthony Garraud :

Hi,
We assume Member is the name of your repeat group. You must a variable a
calculated variable "gest1" and in the calculation, put position(..).

if(position(..)=2,.=indeexed-repeat(${age},${Member},1),.<100)

Try this

Pierre

2015-06-21 11:39 GMT-07:00 Ayoub Kakande akakande@gmail.com:

I want second loop gest to be same as first, so that incase someone
enters something diff in second loop it rejects, i.e using it as valudation
check
On Jun 21, 2015 6:58 PM, "Pierre Anthony Garraud" pagarraud1@gmail.com wrote:

Hi Kalande,
Do you want the gestation age of the first loop is the same than the
second loop or only if its value is 35

--

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/d/optout.

--

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/d/optout.