I am designing an application for the first time.
I have followed all the examples in the guide on the display condition but
am getting error when i deploy.
The question is a multiple choice multiple answer
What do you think is the cause of diarrhea?
Flies
Contaminated food
Contaminated hands
Others specify
I want to skip the next question which is (please specify other) in case
choice 4 is not selected. How can i go about it?
···
On Wed, Oct 21, 2015 at 7:55 AM, Daniel LUBA wrote:
I am designing an application for the first time.
I have followed all the examples in the guide on the display condition but
am getting error when i deploy.
The question is a multiple choice multiple answer
What do you think is the cause of diarrhea?
Flies
Contaminated food
Contaminated hands
Others specify
I want to skip the next question which is (please specify other) in case
choice 4 is not selected. How can i go about it?
We have exactly the same flow in many of our forms. I attach a screen shot
which shows how we achieve what you are wanting to achieve. We don't skip
the next question we include prompting for the 'other' specification within
a question list (in the screenshot 'Wholesaler used') is a question list
which includes the multiple choice options AND the option to specify the
'other' choice.
···
On Wednesday, October 21, 2015 at 1:55:23 PM UTC+2, Daniel LUBA wrote:
>
> I am designing an application for the first time.
> I have followed all the examples in the guide on the display condition but
> am getting error when i deploy.
> The question is a multiple choice multiple answer
>
> What do you think is the cause of diarrhea?
> 1. Flies
> 2. Contaminated food
> 3. Contaminated hands
> 4. Others specify
>
> I want to skip the next question which is (please specify other) in case
> choice 4 is not selected. How can i go about it?
>
···
On Wednesday, October 21, 2015 at 2:55:23 PM UTC+3, Daniel LUBA wrote:
>
> I am designing an application for the first time.
> I have followed all the examples in the guide on the display condition but
> am getting error when i deploy.
> The question is a multiple choice multiple answer
>
> What do you think is the cause of diarrhea?
> 1. Flies
> 2. Contaminated food
> 3. Contaminated hands
> 4. Others specify
>
> I want to skip the next question which is (please specify other) in case
> choice 4 is not selected. How can i go about it?
>
For the display condition section you are stating the conditions under
which you want the question to be displayed (NOT the situation in which it
should skip).
For example, consider a question that asks for a cellphone number. We only
want to show that question if the answer to the previous question ("Do you
have a cellphone?") is yes.
Once in the expression editor click "add expression"
From the question tree, drag the "Do you have a cellphone?" question
over to the first box until the mouse shows a green check mark- then drop
it in.
Grab the "yes" answer from the "Do you have a cellphone?" question
and drag that into the second box.
Make sure that the drop down menu between the boxes says "is equal
to."
Verify that a green "OK" box appears at the end of the expression
Click "save to form"- you will see the expression now appears in the
box next to "skip condition"
Now this question will only show when the answer to "Do you have a
cellphone?" is "Yes."
I have used the above example but the error message i get is (The Display
Condition for a question is not allowed to reference the question itself.
Please remove the . from the Display Condition or your form will have
errors.) how else can i do it.
···
On Wednesday, October 21, 2015 at 2:55:23 PM UTC+3, Daniel LUBA wrote:
>
> I am designing an application for the first time.
> I have followed all the examples in the guide on the display condition but
> am getting error when i deploy.
> The question is a multiple choice multiple answer
>
> What do you think is the cause of diarrhea?
> 1. Flies
> 2. Contaminated food
> 3. Contaminated hands
> 4. Others specify
>
> I want to skip the next question which is (please specify other) in case
> choice 4 is not selected. How can i go about it?
>
···
On Wednesday, October 21, 2015 at 2:55:23 PM UTC+3, Daniel LUBA wrote:
>
> I am designing an application for the first time.
> I have followed all the examples in the guide on the display condition but
> am getting error when i deploy.
> The question is a multiple choice multiple answer
>
> What do you think is the cause of diarrhea?
> 1. Flies
> 2. Contaminated food
> 3. Contaminated hands
> 4. Others specify
>
> I want to skip the next question which is (please specify other) in case
> choice 4 is not selected. How can i go about it?
>
I am designing an application for the first time.
I have followed all the examples in the guide on the display condition
but am getting error when i deploy.
The question is a multiple choice multiple answer
What do you think is the cause of diarrhea?
Flies
Contaminated food
Contaminated hands
Others specify
I want to skip the next question which is (please specify other) in case
choice 4 is not selected. How can i go about it?
That error message often shows up if you accidentally drag the question in
which you are building the display condition into the expression builder,
instead of the question you wanted to reference. So, in your example, if
you accidentally dragged "What is your number?" (instead of "Do you have a
cellphone?") into the display condition for "What is your number?" you
would see a . instead /data/phone_number. I recommend deleting the display
condition and trying to create it again.
Hope this helps!
Jeremy
···
On Thu, Oct 22, 2015 at 3:58 AM, Daniel LUBA wrote:
For the display condition section you are stating the conditions under
which you want the question to be displayed (NOT the situation in which
it should skip).
For example, consider a question that asks for a cellphone number. We
only want to show that question if the answer to the previous question ("Do
you have a cellphone?") is yes.
Once in the expression editor click "add expression"
From the question tree, drag the "Do you have a cellphone?"
question over to the first box until the mouse shows a green check mark-
then drop it in.
Grab the "yes" answer from the "Do you have a cellphone?" question
and drag that into the second box.
Make sure that the drop down menu between the boxes says "is equal
to."
Verify that a green "OK" box appears at the end of the expression
Click "save to form"- you will see the expression now appears in
the box next to "skip condition"
Now this question will only show when the answer to "Do you have a
cellphone?" is "Yes."
I have used the above example but the error message i get is (The Display
Condition for a question is not allowed to reference the question itself.
Please remove the . from the Display Condition or your form will have
errors.) how else can i do it.
On Wednesday, October 21, 2015 at 2:55:23 PM UTC+3, Daniel LUBA wrote:
I am designing an application for the first time.
I have followed all the examples in the guide on the display condition
but am getting error when i deploy.
The question is a multiple choice multiple answer
What do you think is the cause of diarrhea?
Flies
Contaminated food
Contaminated hands
Others specify
I want to skip the next question which is (please specify other) in case
choice 4 is not selected. How can i go about it?
I am designing an application for the first time.
I have followed all the examples in the guide on the display condition
but am getting error when i deploy.
The question is a multiple choice multiple answer
What do you think is the cause of diarrhea?
Flies
Contaminated food
Contaminated hands
Others specify
I want to skip the next question which is (please specify other) in case
choice 4 is not selected. How can i go about it?