Select multiple + relevant

Hi list.

I have a field that I want to hide if a certain value is selected in a
select multiple.

For example

A. Chose multiple fruit

Orange
Apple
Banana

B, Quarantine (hide if A = Banana)

Yes
No

I understand that you can skip using relevant however all the examples I
have seen for skipping uses integers instead of text(Characters).

Anyone tried this before for text?.

Any help/pointers appreciated.

Nome,

Try it first and if you have problems, then write the list. Everything
you need to be successful is at http://xlsform.org.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Wed, Aug 5, 2015 at 7:40 AM, Nomeneta Saili nome.saili@gmail.com wrote:

Hi list.

I have a field that I want to hide if a certain value is selected in a
select multiple.

For example

A. Chose multiple fruit

Orange
Apple
Banana

B, Quarantine (hide if A = Banana)

Yes
No

I understand that you can skip using relevant however all the examples I
have seen for skipping uses integers instead of text(Characters).

Anyone tried this before for text?.

Any help/pointers appreciated.

--

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 Yaw,

Already tried everything. I think it has something to do with the variable
being a text and not an integer.

For example if the integer is > 5 it can be used in relevant to skip if any
value entered is greater than 5.

However for characters there are no operators for characters/text here
http://www.w3schools.com/xsl/xpath_operators.asp

Been trying to figure how to hide a question if one variable (text) is
selected in a select_multiple

For select multiple the syntax I understand is different for the relevant
where it is selected(${Variable}, 'Value'). If true it will show the
question. If false then it shouldn't. However this is not working for my
form.

I have in my form a select_multiple question that ask the user to pick the
project(s) which there are 4 options

If one of two particular project is selected then a certain question should
be hidden. The other 2 should still show.

So in this particular question relevant field I have
selected(${Projects}, 'Fine_Mat') or selected(${Projects}, 'Handicrafts')

Which will show this question if one of the two projects 'Fine_Mat' or
'Handcraft' is selected either one or both. This is working. However If the
project selected is 'Organics' with either 'Fine_Mat' or 'Handcraft' It
will also still shown. I want to know is someone found a way to hide it
still if 'Organics' is also selected.

Is there a way we can set boolean operators in xls forms?.

Attach excel with the fields highlighted in yellow. Just wanted to know if
people have found a way around this.

Thanks

Nome,

Try it first and if you have problems, then write the list. Everything
you need to be successful is at http://xlsform.org.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

Hi list.

I have a field that I want to hide if a certain value is selected in a
select multiple.

For example

A. Chose multiple fruit

Orange
Apple
Banana

B, Quarantine (hide if A = Banana)

Yes
No

I understand that you can skip using relevant however all the examples I
have seen for skipping uses integers instead of text(Characters).

Anyone tried this before for text?.

Any help/pointers appreciated.

--

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.

Registration_Form_V1.3.xlsx (194 KB)

··· On Thu, Aug 6, 2015 at 10:58 AM, Yaw Anokwa wrote: > On Wed, Aug 5, 2015 at 7:40 AM, Nomeneta Saili wrote: > For more options, visit https://groups.google.com/d/optout.

Nome,

I can't go through your entire form, but attached is a simplified example.

Yaw

fruits.xlsx (10.4 KB)

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Thu, Aug 6, 2015 at 7:37 AM, Nomeneta Saili nome.saili@gmail.com wrote:

Hi Yaw,

Already tried everything. I think it has something to do with the variable
being a text and not an integer.

For example if the integer is > 5 it can be used in relevant to skip if any
value entered is greater than 5.

However for characters there are no operators for characters/text here
http://www.w3schools.com/xsl/xpath_operators.asp

Been trying to figure how to hide a question if one variable (text) is
selected in a select_multiple

For select multiple the syntax I understand is different for the relevant
where it is selected(${Variable}, 'Value'). If true it will show the
question. If false then it shouldn't. However this is not working for my
form.

I have in my form a select_multiple question that ask the user to pick the
project(s) which there are 4 options

If one of two particular project is selected then a certain question should
be hidden. The other 2 should still show.

So in this particular question relevant field I have
selected(${Projects}, 'Fine_Mat') or selected(${Projects}, 'Handicrafts')

Which will show this question if one of the two projects 'Fine_Mat' or
'Handcraft' is selected either one or both. This is working. However If the
project selected is 'Organics' with either 'Fine_Mat' or 'Handcraft' It will
also still shown. I want to know is someone found a way to hide it still if
'Organics' is also selected.

Is there a way we can set boolean operators in xls forms?.

Attach excel with the fields highlighted in yellow. Just wanted to know if
people have found a way around this.

Thanks

On Thu, Aug 6, 2015 at 10:58 AM, Yaw Anokwa yanokwa@nafundi.com wrote:

Nome,

Try it first and if you have problems, then write the list. Everything
you need to be successful is at http://xlsform.org.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Wed, Aug 5, 2015 at 7:40 AM, Nomeneta Saili nome.saili@gmail.com wrote:

Hi list.

I have a field that I want to hide if a certain value is selected in a
select multiple.

For example

A. Chose multiple fruit

Orange
Apple
Banana

B, Quarantine (hide if A = Banana)

Yes
No

I understand that you can skip using relevant however all the examples I
have seen for skipping uses integers instead of text(Characters).

Anyone tried this before for text?.

Any help/pointers appreciated.

--

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.

--

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.