Hello,
I am developing a form, and I'm not sure what I want to do is possible. I
would like to group two questions on one screen. The first question is type
"select_one yes_no". I want the second question to be of type text, and to
show up if the user answers "no" to the first question.
Here is a sample of what my Excel file will look like:
type,name,label,appearance,relevant
begin group, test, test,field-list,
select_one yes_no,q1, Is the building accessible?,,
text,q2,Why is the building not accessible?,,selected(${q1}, 'no')
end group,,,,
When I select 'No' for the first question, the second question does not
show up on the screen. But, if I scroll forward and then back, the second
question shows up.
Is there a way to make the second question pop up immediately upon
selecting 'no' to the first question? Is there a way to refresh the screen
without swiping forward and then back?
Sorry, Steven, there is no way to do this. Relevance expressions are
evaluated only when the screen appears. Nothing will appear or disappear
based on within-screen choices.
Best,
Chris
···
On Mon, Dec 9, 2013 at 8:12 PM, Steven Hansen wrote:
Hello,
I am developing a form, and I'm not sure what I want to do is possible. I
would like to group two questions on one screen. The first question is type
"select_one yes_no". I want the second question to be of type text, and to
show up if the user answers "no" to the first question.
Here is a sample of what my Excel file will look like:
type,name,label,appearance,relevant
begin group, test, test,field-list,
select_one yes_no,q1, Is the building accessible?,,
text,q2,Why is the building not accessible?,,selected(${q1}, 'no')
end group,,,,
When I select 'No' for the first question, the second question does not
show up on the screen. But, if I scroll forward and then back, the second
question shows up.
Is there a way to make the second question pop up immediately upon
selecting 'no' to the first question? Is there a way to refresh the screen
without swiping forward and then back?