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

Dependencies withing the dependent repeater/group don't work #235

Closed
Nataliya opened this issue Oct 19, 2011 · 1 comment
Closed

Dependencies withing the dependent repeater/group don't work #235

Nataliya opened this issue Oct 19, 2011 · 1 comment

Comments

@Nataliya
Copy link
Contributor

Dependencies withing the dependent repeater/group don't work. The hidden tag is on the fieldset element, but the css doesn't display the element accordingly.

See the code below: "Year"- question shows up regardless, once the repeater is visible.

    q_CIG_NOW_NUM "On days that you smoke, how many cigarettes do you smoke per day? If you smoke 1 cigarette or 
    less each day, please enter \"1.\"",
    :pick => :one
    a_number "NUMBER PER DAY", :integer
    a_neg_1 "REFUSED"
    a_neg_2 "DON’T KNOW"
    
    repeater "Tell us about the cars you own" do
      dependency :rule => "A"
      condition_A :q_CIG_NOW_NUM, ">", {:integer_value => "60"}
      
      q "Make", :pick => :one, :display_type => :dropdown
      a "Toyota"
      a "Ford"
      a "GMChevy"
      a "Ferrari"
      a "Tesla"
      a "Honda"
      a "Other weak brand"
      
      q_model "Model", 
      :pick => :one
      a_1 "Small"
      a_2 "Medium"
      a_3 "Large"
      
      q "Year"
      dependency :rule => "A"
      condition_A :q_model, "==", :a_2
      a :string
    end

@yoon
Copy link
Member

yoon commented Dec 21, 2012

Duplicated by #366. Closing this one because the comments on the other are useful.

@yoon yoon closed this as completed Dec 21, 2012
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

2 participants