Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependent answers #486

Open
paolodm opened this issue Oct 2, 2014 · 0 comments
Open

Dependent answers #486

paolodm opened this issue Oct 2, 2014 · 0 comments

Comments

@paolodm
Copy link

paolodm commented Oct 2, 2014

I would like to be able to hide certain answers based on the user's previous answers in the survey. For example:

q_1 "What kind of pets do you have?"
a_1 "Cat"
a_2 "Dog"
a_3 "Fish"

q_2 "How many of each pet do you have?"
a_1 "Cat", :string, :condition => (q_1, "==", a_1)
a_2 "Dog", :string, :condition => (q_1, "==", a_2)
a_3 "Fish", :string, :condition => (q_1, "==", a_3)

So the a_1 Cat option in q_2 will only appear if I selected a_1 Cat in q_1.

@yoon yoon changed the title Answers available based on precondition Dependent answers Oct 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant