• Resolved ice9design

    (@ice9design)


    Multiple “conditional” groups are showing when they shouldn’t be. How do I hide them?

    Example:
    https://www.juiceworldwide.com/test/

    Select “Distributing via Juice Inquiry”
    Then Select “Film”
    Then go to the top dropdown and select “Post-Production Services Inquiry”

    Now, both the “post production Services” AND “Film Distribution” forms are showing. How do I stop this from happening? I want only “Post Production” to show.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Looks fine now. Did you already solve it?

    I’m having the same problem. On https://kom.capprogramming.com/apply/contact5/.

    College & High School only hide one level of fields most of the time, so it works fine. But if you select other in that second dropdown, then it shows a textbox to enter data into. Switch from High School to College, or visa versa, and that additional textbox should be hidden since the parent area is also hidden.

    If you select University in the first dropdown, then an additional dropdown shows up with 2 more choices. If you then switch to high school, then the 2 areas hide correctly. But then switch to College, then then you see 2 dropwdown menus, when you should only see one.

    Also, I have clear on hide enabled, but none of the values clear when hidden. Which is probably a good part of what is causing this to happen.

    <h3>Program Preference</h3>
     <div class="well">
         <label for="current_education_level">*Current Education Level</label>[select* current_education_level id:current_education_level include_blank "High School" "College" "University"]
    
    [group group-program-level-uni inline clear_on_hide]*Level of Study</label>[select* kom_program_type_uni id:kom_program_type_uni include_blank "Undergraduate" "Postgraduate"][/group]
    
    [group group-undergrad-programs inline clear_on_hide]<label>*Area of Study</label>[select* undergrad_preferences id:undergrad_preferences include_blank level:undergrad][/group]
    
    [group group-postgrad-programs inline clear_on_hide]<label>*Area of Study</label>[select* postgrad_preferences id:postgrad_preferences include_blank level:postgrad][/group]
    
    [group group-college-programs inline clear_on_hide]<label>*Area of Study</label>[select* college_preferences id:college_preferences include_blank level:college][/group]
    
    [group group-course-preference-other clear_on_hide inline]<label>&nbsp;</label>[text* course_preference_1_other id:course_preference_1_other][/group]
    
    [group group-secondary-area inline]<label>Secondary Area of Study<br/><span class="smalltext">(optional)</span></label>[text course_preference_2 id:course_preference_2][/group]
    </div>
    
    [response]
    <div class="center" role="group">[submit class:btn class:btn-primary class:nextBtn  "Next"]</div>
    show [group-program-level-uni] if [current_education_level] equals "University"
    show [group-undergrad-programs] if [current_education_level] equals "High School"
    show [group-college-programs] if [current_education_level] equals "College"
    show [group-postgrad-programs] if [kom_program_type_uni] equals "Postgraduate"
    show [group-undergrad-programs] if [kom_program_type_uni] equals "Undergraduate"
    show [group-secondary-area] if [current_education_level] not equals ""
    show [group-course-preference-other] if [undergrad_preferences] equals "8"
    show [group-course-preference-other] if [postgrad_preferences] equals "8"
    show [group-course-preference-other] if [college_preferences] equals "8"
    
    • This reply was modified 5 years, 9 months ago by darthyoda6.
    Plugin Author Jules Colle

    (@jules-colle)

    @darthyoda6 could you copy this question to a new topic please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Groups are showing up when they should be hidden’ is closed to new replies.