Setting relevance to a range

Hi All

I would like to set a relevance using xlsform to a note if an answer to a
previous question is within a range of values.

I.E. would like to show a note of a persons cholesterol level is between:
below 5.2 > show note A
between 5.2 and 6.2 > show note b
above 6.2 > show note C

Thanks

··· -- Bashir Jahed - Director The OSi LAB (PTY) Ltd www.osilab.net | 083 414 0453 | bashir@osilab.net

Hi Bashir,

See http://opendatakit.org/help/form-design/xlsform (Skipping
Questions) or https://formhub.org/syntax (3.3 Asking Relevant
Questions).

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom features, form design, implementation support, and user training for ODK.

On Mon, Jun 3, 2013 at 4:41 AM, Bashir Jahed admin@osilab.net wrote:

Hi All

I would like to set a relevance using xlsform to a note if an answer to a previous question is within a range of values.

I.E. would like to show a note of a persons cholesterol level is between:
below 5.2 > show note A
between 5.2 and 6.2 > show note b
above 6.2 > show note C

Thanks

Bashir Jahed - Director
The OSi LAB (PTY) Ltd
www.osilab.net | 083 414 0453 | bashir@osilab.net

--

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.

Thanks Yaw

I am familiar with skipping and asking relevent questions however
displaying a question/note on a value is what I am trying to achieve, I
only want to display a note of the answer given is between a range of 5.2
and 6.2 inclusive.

I am able to display note A using ${cholesterol} < 5.2 but I am trying to
display note B if the answer is ${cholesterol} = (between 5.2 & 6.2) or am
i missing something from the links you sent?

··· On Mon, Jun 3, 2013 at 8:35 PM, Yaw Anokwa wrote:

Hi Bashir,

See http://opendatakit.org/help/form-design/xlsform (Skipping
Questions) or https://formhub.org/syntax (3.3 Asking Relevant
Questions).

Yaw

Need ODK help? Go to http://nafundi.com for custom features, form
design, implementation support, and user training for ODK.

On Mon, Jun 3, 2013 at 4:41 AM, Bashir Jahed admin@osilab.net wrote:

Hi All

I would like to set a relevance using xlsform to a note if an answer to
a previous question is within a range of values.

I.E. would like to show a note of a persons cholesterol level is between:
below 5.2 > show note A
between 5.2 and 6.2 > show note b
above 6.2 > show note C

Thanks

Bashir Jahed - Director
The OSi LAB (PTY) Ltd
www.osilab.net | 083 414 0453 | bashir@osilab.net

--

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.

--

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.

--
Bashir Jahed - Director
The OSi LAB (PTY) Ltd
www.osilab.net | 083 414 0453 | bashir@osilab.net

Bashir,

You can use a relevance expression like:

${cholesterol} >= 5.2 and ${cholesterol} <= 6.2

Best,

Chris

··· On Tue, Jun 4, 2013 at 10:16 AM, Bashir Jahed wrote:

Thanks Yaw

I am familiar with skipping and asking relevent questions however
displaying a question/note on a value is what I am trying to achieve, I
only want to display a note of the answer given is between a range of 5.2
and 6.2 inclusive.

I am able to display note A using ${cholesterol} < 5.2 but I am trying to
display note B if the answer is ${cholesterol} = (between 5.2 & 6.2) or
am i missing something from the links you sent?

On Mon, Jun 3, 2013 at 8:35 PM, Yaw Anokwa yanokwa@nafundi.com wrote:

Hi Bashir,

See http://opendatakit.org/help/form-design/xlsform (Skipping
Questions) or https://formhub.org/syntax (3.3 Asking Relevant
Questions).

Yaw

Need ODK help? Go to http://nafundi.com for custom features, form
design, implementation support, and user training for ODK.

On Mon, Jun 3, 2013 at 4:41 AM, Bashir Jahed admin@osilab.net wrote:

Hi All

I would like to set a relevance using xlsform to a note if an answer to
a previous question is within a range of values.

I.E. would like to show a note of a persons cholesterol level is
between:
below 5.2 > show note A
between 5.2 and 6.2 > show note b
above 6.2 > show note C

Thanks

Bashir Jahed - Director
The OSi LAB (PTY) Ltd
www.osilab.net | 083 414 0453 | bashir@osilab.net

--

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.

--

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.

--
Bashir Jahed - Director
The OSi LAB (PTY) Ltd
www.osilab.net | 083 414 0453 | bashir@osilab.net

--

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.

Ah that simple, porridge brain moment.

Thanks Robert I will try this out and feed back.

Bashir

··· On Tue, Jun 4, 2013 at 10:27 AM, Christopher Robert wrote:

Bashir,

You can use a relevance expression like:

${cholesterol} >= 5.2 and ${cholesterol} <= 6.2

Best,

Chris

On Tue, Jun 4, 2013 at 10:16 AM, Bashir Jahed admin@osilab.net wrote:

Thanks Yaw

I am familiar with skipping and asking relevent questions however
displaying a question/note on a value is what I am trying to achieve, I
only want to display a note of the answer given is between a range of 5.2
and 6.2 inclusive.

I am able to display note A using ${cholesterol} < 5.2 but I am trying
to display note B if the answer is ${cholesterol} = (between 5.2 & 6.2)
or am i missing something from the links you sent?

On Mon, Jun 3, 2013 at 8:35 PM, Yaw Anokwa yanokwa@nafundi.com wrote:

Hi Bashir,

See http://opendatakit.org/help/form-design/xlsform (Skipping
Questions) or https://formhub.org/syntax (3.3 Asking Relevant
Questions).

Yaw

Need ODK help? Go to http://nafundi.com for custom features, form
design, implementation support, and user training for ODK.

On Mon, Jun 3, 2013 at 4:41 AM, Bashir Jahed admin@osilab.net wrote:

Hi All

I would like to set a relevance using xlsform to a note if an answer
to a previous question is within a range of values.

I.E. would like to show a note of a persons cholesterol level is
between:
below 5.2 > show note A
between 5.2 and 6.2 > show note b
above 6.2 > show note C

Thanks

Bashir Jahed - Director
The OSi LAB (PTY) Ltd
www.osilab.net | 083 414 0453 | bashir@osilab.net

--

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.

--

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.

--
Bashir Jahed - Director
The OSi LAB (PTY) Ltd
www.osilab.net | 083 414 0453 | bashir@osilab.net

--

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.

--

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.

--
Bashir Jahed - Director
The OSi LAB (PTY) Ltd
www.osilab.net | 083 414 0453 | bashir@osilab.net