NUBIC/nu_surveyor — pull request #107 by jdzak (2013-02-08 04:34:20+00:00)
Title: Questions/Labels dependent on a question in a repeater doesn't work

Questions (or labels) that are dependent on a question in a repeater don't appear, even when the dependency is satisfied.

For the survey below, when you select the "Green" answer, the "You Win!!!" label should show. "Green" could be selected in any response group.

survey "Repeater Condition" do
section "One" do
repeater "Colors" do
q_color "Red or Green?", :pick => :one
a_red "Red"
a_green "Green"
end

label "You Win!!"
dependency :rule => "A"
condition_A :q_color, "==", :a_green
end
end