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

If the text field attached to the question, the dependencies are not picking up the answer #158

Closed
Nataliya opened this issue Jun 7, 2011 · 0 comments

Comments

@Nataliya
Copy link
Contributor

Nataliya commented Jun 7, 2011

survey "TEMP" do
section "Phone Screen" do
q_diabetes "Diabetes", :pick => :one
a_yes "Yes", :string
a_no "No"

q_high_blood_preassure "High blood pressure?", :pick => :one
a_yes "Yes", :string
a_no "No"

q "It looks like you are not eligible for this specific study at the time", :pick => :one
a_yes "Yes"
a_no "No"
dependency :rule => "A or B"
condition_A :q_diabetes, "==", :a_yes
condition_B :q_high_blood_preassure, "==", :a_yes

end
end

@yoon yoon closed this as completed in 3f1c207 Jun 17, 2011
ignu pushed a commit to ignu/surveyor that referenced this issue Jun 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants