Relevant

how can I make question appears if the text previous question answered (wrote in it)?

Since you do not provide any choices for the first question, what you can
simply do is make the "What is your name" question mandatory
(respondents/enumerators would not be able to skip this question without
answering it by using the "required" field). Beside the hh question, under
a "required" column, you would insert "required_message". Of course, this
would not control for accuracy, but at least it would ensure this question
isn't skipped.

You can use the relevant option if there is a select_one or select_multiple
question you are referring to, such as yes/no. For example, If you asked,
"Are you the head of the household," instead of "What is your name?", you
could put:

$(hh) = 'yes'

For more info on this topic, see http://xlsform.org/#relevant
and http://xlsform.org/#required.

Cheers,
Ian

··· On Thursday, 25 May 2017 21:08:43 UTC-2:30, jad....@gmail.com wrote: > > how can I make question appears if the text previous question answered > (wrote in it)?

Jad,

A simpler option is to add this relevance to age: ${hh} != ''

That is, if hh is not blank, then show the age question.

Yaw

··· On Fri, May 26, 2017 at 7:26 AM, Ian Murdoch wrote: > Since you do not provide any choices for the first question, what you can > simply do is make the "What is your name" question mandatory > (respondents/enumerators would not be able to skip this question without > answering it by using the "required" field). Beside the hh question, under a > "required" column, you would insert "required_message". Of course, this > would not control for accuracy, but at least it would ensure this question > isn't skipped. > > You can use the relevant option if there is a select_one or select_multiple > question you are referring to, such as yes/no. For example, If you asked, > "Are you the head of the household," instead of "What is your name?", you > could put: > > $(hh) = 'yes' > > > For more info on this topic, see http://xlsform.org/#relevant and > http://xlsform.org/#required. > > Cheers, > Ian > > > > On Thursday, 25 May 2017 21:08:43 UTC-2:30, jad....@gmail.com wrote: >> >> how can I make question appears if the text previous question answered >> (wrote in it)? > > -- > -- > 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.

Jad,

A simpler option is to add this relevance to age: ${hh} != ''

That is, if hh is not blank, then show the age question.

Yaw

Since you do not provide any choices for the first question, what you can
simply do is make the "What is your name" question mandatory
(respondents/enumerators would not be able to skip this question without
answering it by using the "required" field). Beside the hh question, under a
"required" column, you would insert "required_message". Of course, this
would not control for accuracy, but at least it would ensure this question
isn't skipped.

You can use the relevant option if there is a select_one or select_multiple
question you are referring to, such as yes/no. For example, If you asked,
"Are you the head of the household," instead of "What is your name?", you
could put:

$(hh) = 'yes'

For more info on this topic, see http://xlsform.org/#relevant and
http://xlsform.org/#required.

Cheers,
Ian

how can I make question appears if the text previous question answered
(wrote in it)?

--

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,

thank you for your replay,

I have another question if you can help me;

The opposite of that, if I want the question "X" not appear if a previous text question answered, what is the formula I have to add in the relevant column?

··· On Sunday, May 28, 2017 at 11:16:16 PM UTC+3, Yaw Anokwa wrote: > On Fri, May 26, 2017 at 7:26 AM, Ian Murdoch wrote: > > On Thursday, 25 May 2017 21:08:43 UTC-2:30, jad....@gmail.com wrote:

Jad,

If you want the reverse behavior, then reverse the relevancy: ${hh} = ''

I'd encourage you to review the docs at http://xlsform.org.

Yaw

··· On Wed, May 31, 2017 at 8:31 AM, wrote: > On Sunday, May 28, 2017 at 11:16:16 PM UTC+3, Yaw Anokwa wrote: >> Jad, >> >> A simpler option is to add this relevance to age: ${hh} != '' >> >> That is, if hh is not blank, then show the age question. >> >> Yaw >> >> On Fri, May 26, 2017 at 7:26 AM, Ian Murdoch wrote: >> > Since you do not provide any choices for the first question, what you can >> > simply do is make the "What is your name" question mandatory >> > (respondents/enumerators would not be able to skip this question without >> > answering it by using the "required" field). Beside the hh question, under a >> > "required" column, you would insert "required_message". Of course, this >> > would not control for accuracy, but at least it would ensure this question >> > isn't skipped. >> > >> > You can use the relevant option if there is a select_one or select_multiple >> > question you are referring to, such as yes/no. For example, If you asked, >> > "Are you the head of the household," instead of "What is your name?", you >> > could put: >> > >> > $(hh) = 'yes' >> > >> > >> > For more info on this topic, see http://xlsform.org/#relevant and >> > http://xlsform.org/#required. >> > >> > Cheers, >> > Ian >> > >> > >> > >> > On Thursday, 25 May 2017 21:08:43 UTC-2:30, jad....@gmail.com wrote: >> >> >> >> how can I make question appears if the text previous question answered >> >> (wrote in it)? >> > >> > -- >> > -- >> > 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, > > thank you for your replay, > > I have another question if you can help me; > > The opposite of that, if I want the question "X" not appear if a previous text question answered, what is the formula I have to add in the relevant column? > > -- > -- > 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.

A post was split to a new topic: Controlling survey flow?