• Resolved diverslife

    (@diverslife)


    Hello Mr Colle,
    I am having a little trouble with getting a set of conditional fields to show up as i would like

    If you go to the link above
    about half way down the page you have the section – Reise / Teilnehmer Daten

    then on the right hand sie you have a drop down menu with the label — kiene Kinder–
    when you selcet 1 or 2 or 3 or 4
    a set of hidden boxes should show below for the ages of the children to be put in.
    but they dont show up.
    Unless you click the box below – Flughafen. then suddenly the hidden boxes appear.

    Not sure what i am doing wrong
    i can give you a snippet of the code.

    <div class=”wps-form-row”>
    <div class=”wps-form-column”>[select* Wie-Viele-Erwachsener id:erwachsener first_as_label ” — Wie viele Erwachsener * — ” “1 Erwachsener” “2 Erwachsener” “3 Erwachsener” “4 Erwachsener” “5 Erwachsener” “6 Erwachsener” “7 Erwachsener” “8 Erwachsener” “9 Erwachsener” “10 Erwachsener” “11 Erwachsener” “12 Erwachsener” “13 Erwachsener” “14 Erwachsener” “15 Erwachsener” “16 Erwachsener” “17 Erwachsener” “18 Erwachsener” “19 Erwachsener” “20 Erwachsener”]</div>
    <div class=”wps-form-column”>[select Wie-Viele-Kinder id:kinder ” — keine Kinder — ” “1 Kind” “2 Kinder” “3 Kinder” “4 Kinder”]</div>
    </div>
    [group child-1]
    <div class=”wps-form-row”>
    <div class=”wps-form-column”>[select Alte-Kind-1 id:alte-kind-1 “Alte Kind 1 *” “< 2 Jahre” “2 Jahre” “3 Jahre” “4 Jahre” “5 Jahre” “6 Jahre” “7 Jahre” “8 Jahre” “9 Jahre” “10 Jahre” “11 Jahre” “12 Jahre” “13 Jahre” “14 Jahre” “15 Jahre” “16 Jahre” “17 Jahre”]</div>
    <div class=”wps-form-column”></div>
    <div class=”wps-form-column”></div>
    <div class=”wps-form-column”></div>
    </div>
    [/group]
    [group child-2]
    <div class=”wps-form-row”>
    <div class=”wps-form-column”>[select Alte-Kind-1-2 id:alte-kind-1-2 “Alte Kind 1 *” “< 2 Jahre” “2 Jahre” “3 Jahre” “4 Jahre” “5 Jahre” “6 Jahre” “7 Jahre” “8 Jahre” “9 Jahre” “10 Jahre” “11 Jahre” “12 Jahre” “13 Jahre” “14 Jahre” “15 Jahre” “16 Jahre” “17 Jahre”]</div>
    <div class=”wps-form-column”>[select Alte-Kind-2-2 id:alte-kind-2-2 “Alte Kind 2 *” “< 2 Jahre” “2 Jahre” “3 Jahre” “4 Jahre” “5 Jahre” “6 Jahre” “7 Jahre” “8 Jahre” “9 Jahre” “10 Jahre” “11 Jahre” “12 Jahre” “13 Jahre” “14 Jahre” “15 Jahre” “16 Jahre” “17 Jahre”]</div>
    <div class=”wps-form-column”></div>
    <div class=”wps-form-column”></div>
    </div>
    [/group]

    show [child-1] if [Wie-Viele-Kinder] equals “1 Kind”
    show [child-2] if [Wie-Viele-Kinder] equals “2 Kinder”

    there are also 2 more groups for kinder 3 and kinder 4

    am i doing something wrong?
    any help would be brilliant.
    Regartds
    Joe

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

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conditoonal Fields not showing as expected’ is closed to new replies.