Sum Repeating Field

Hi,

I was wondering if it is possible to sum a field that is in a
repeating group of questions? For example if my group of questions is
asking for an individual's name and the litres of water they are
carrying, I want to ensure the sum of the water everyone is carrying
is greater then # of people x 2.5 litres.

Thanks.

Dana,

You can't reference values in repeat instances. If you move the
questions outside the repeat, then you can use the calculate function
as described at
http://http://opendatakit.org/help/form-design/binding/

Yaw

··· On Thu, Mar 15, 2012 at 10:38, Dana Lee wrote: > Hi, > > I was wondering if it is possible to sum a field that is in a > repeating group of questions? For example if my group of questions is > asking for an individual's name and the litres of water they are > carrying, I want to ensure the sum of the water everyone is carrying > is greater then # of people x 2.5 litres. > > Thanks. > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Okay, thanks for the quick reply Yaw!

··· On Mar 15, 8:49 am, Yaw Anokwa wrote: > Dana, > > You can't reference values in repeat instances. If you move the > questions outside the repeat, then you can use the calculate function > as described athttp://http://opendatakit.org/help/form-design/binding/ > > Yaw > > > > > > > > On Thu, Mar 15, 2012 at 10:38, Dana Lee wrote: > > Hi, > > > I was wondering if it is possible to sum a field that is in a > > repeating group of questions? For example if my group of questions is > > asking for an individual's name and the litres of water they are > > carrying, I want to ensure the sum of the water everyone is carrying > > is greater then # of people x 2.5 litres. > > > Thanks. > > > -- > > Post: opendatakit@googlegroups.com > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > Options:http://groups.google.com/group/opendatakit?hl=en