I believe calculations like these are best done post-processing unless it
is relevant to the rest of the questionnaire. Anyway, you can use a *
calculate* type field, say bp1b and assign the calculation like if(bp1 >
140, 1, 0) or if(bp1 > 140, 'True', 'False').
This calculate field is hidden from the user.
Nik
···
On Tuesday, June 4, 2013, Bashir Jahed wrote:
Hi All
I am wandering if this is at all possible. Been searching but unable to
find anything relevant.
I want to do a calculation if the previous relevance is true.
I have a note "bp1_b" which is relevant if answer to previous question
"bp1" is above 140 and is expresses and working as ${bp1} > 140
I would like to flag this result by using a calculation so it is silently
written to the submitted data if the note "bp1_b" is true
confusing myself now...
Bash
--
Bashir Jahed - Director
The OSi LAB (PTY) Ltd www.osilab.net | 083 414 0453 | bashir@osilab.net <javascript:_e({},
'cvml', 'bashir@osilab.net');>
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({},
'cvml', 'opendatakit%2Bunsubscribe@googlegroups.com');>.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks will give this a try. I am aware this is hidden from the user and
the data will be used later upon analysis
Will feedback on results.
Bash
···
On Tue, Jun 4, 2013 at 3:10 PM, ゴー・ニコライ wrote:
I believe calculations like these are best done post-processing unless it
is relevant to the rest of the questionnaire. Anyway, you can use a *
calculate* type field, say bp1b and assign the calculation like *if(bp1
140, 1, 0)* or if(bp1 > 140, 'True', 'False').
This calculate field is hidden from the user.
Nik
On Tuesday, June 4, 2013, Bashir Jahed wrote:
Hi All
I am wandering if this is at all possible. Been searching but unable to
find anything relevant.
I want to do a calculation if the previous relevance is true.
I have a note "bp1_b" which is relevant if answer to previous question
"bp1" is above 140 and is expresses and working as ${bp1} > 140
I would like to flag this result by using a calculation so it is silently
written to the submitted data if the note "bp1_b" is true
I have tried the following calculation but the result always returns false.
Any tips here:
if(bp1 > 140, 'True', 'False')
···
On Tue, Jun 4, 2013 at 3:10 PM, ゴー・ニコライ wrote:
I believe calculations like these are best done post-processing unless it
is relevant to the rest of the questionnaire. Anyway, you can use a *
calculate* type field, say bp1b and assign the calculation like *if(bp1
140, 1, 0)* or if(bp1 > 140, 'True', 'False').
This calculate field is hidden from the user.
Nik
On Tuesday, June 4, 2013, Bashir Jahed wrote:
Hi All
I am wandering if this is at all possible. Been searching but unable to
find anything relevant.
I want to do a calculation if the previous relevance is true.
I have a note "bp1_b" which is relevant if answer to previous question
"bp1" is above 140 and is expresses and working as ${bp1} > 140
I would like to flag this result by using a calculation so it is silently
written to the submitted data if the note "bp1_b" is true
I believe calculations like these are best done post-processing unless it
is relevant to the rest of the questionnaire. Anyway, you can use a *
calculate* type field, say bp1b and assign the calculation like *if(bp1
140, 1, 0)* or if(bp1 > 140, 'True', 'False').
This calculate field is hidden from the user.
Nik
On Tuesday, June 4, 2013, Bashir Jahed wrote:
Hi All
I am wandering if this is at all possible. Been searching but unable to
find anything relevant.
I want to do a calculation if the previous relevance is true.
I have a note "bp1_b" which is relevant if answer to previous question
"bp1" is above 140 and is expresses and working as ${bp1} > 140
I would like to flag this result by using a calculation so it is
silently written to the submitted data if the note "bp1_b" is true