Variable comparisons

Dear all,
Please help this if it possible to be implemented in ODK

For weight measurements of mom (variable HMOMWT), it currently is entered
twice and the numbers have to match for it to be ok to be entered. I need
to change this restriction to be less strict since the field workers take
the weight of mom twice and its hard to get them to match. I would like
any 2 values within 1 kg to be allowed to be entered.

For example:
HMOMWT1= 61.2 and HMOMWT2= 61.4 This is OK
HMOMWT1= 61.2 and HMOMWT2 = 62.8 This should be rejected and enter again

Help this please
Thanks
Justin

in xlsForm, add a constraint clause HMOMWT2

"(. <= ${HMOMWT1)+1 or . >= ${HMOMWT1)-1)"

or in XML

"(. <== ${HMOMWT1)+1 or . >= ${HMOMWT1)-1)"

··· On Wednesday, February 19, 2014, Justine Govela wrote:

Dear all,
Please help this if it possible to be implemented in ODK

For weight measurements of mom (variable HMOMWT), it currently is entered
twice and the numbers have to match for it to be ok to be entered. I need
to change this restriction to be less strict since the field workers take
the weight of mom twice and its hard to get them to match. I would like
any 2 values within 1 kg to be allowed to be entered.

For example:
HMOMWT1= 61.2 and HMOMWT2= 61.4 This is OK
HMOMWT1= 61.2 and HMOMWT2 = 62.8 This should be rejected and enter again

Help this please
Thanks
Justin

--

Post: opendatakit@googlegroups.com<javascript:_e(%7B%7D,'cvml','opendatakit@googlegroups.com');>
Unsubscribe: opendatakit+unsubscribe@googlegroups.com<javascript:_e(%7B%7D,'cvml','opendatakit%2Bunsubscribe@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<javascript:_e(%7B%7D,'cvml','opendatakit%2Bunsubscribe@googlegroups.com');>
.
For more options, visit https://groups.google.com/groups/opt_out.

--

Nik
Need help customizing Survey Instruments/Tools/Forms for ODK Collect? Drop
me an email.

oops. double-typed the "==" sign, that should've been just "<="

··· On Wednesday, February 19, 2014, ゴー・ニコライ wrote:

in xlsForm, add a constraint clause HMOMWT2

"(. <= ${HMOMWT1)+1 or . >= ${HMOMWT1)-1)"

or in XML

"(. <== ${HMOMWT1)+1 or . >= ${HMOMWT1)-1)"

On Wednesday, February 19, 2014, Justine Govela <justine.govela7@gmail.com<javascript:_e(%7B%7D,'cvml','justine.govela7@gmail.com');>> wrote:

Dear all,
Please help this if it possible to be implemented in ODK

For weight measurements of mom (variable HMOMWT), it currently is entered
twice and the numbers have to match for it to be ok to be entered. I need
to change this restriction to be less strict since the field workers take
the weight of mom twice and its hard to get them to match. I would like
any 2 values within 1 kg to be allowed to be entered.

For example:
HMOMWT1= 61.2 and HMOMWT2= 61.4 This is OK
HMOMWT1= 61.2 and HMOMWT2 = 62.8 This should be rejected and enter again

Help this please
Thanks
Justin

--

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.

--

Nik
Need help customizing Survey Instruments/Tools/Forms for ODK Collect? Drop
me an email.

--

Nik
Need help customizing Survey Instruments/Tools/Forms for ODK Collect? Drop
me an email.