• Resolved MarcoWilli

    (@marcowilli)


    Hi!

    Is it possible to check multiple values in same field?

    I added multiple lines with different values to check but it′s not behaving like “OR”. Instead it′s not working at all…

    Just want to check a select box like

    if “Value 1” show “group-1”
    if “Value 2” show “group-1”
    if “Value 3” show “group-2”

    Don′t know how to do it either…?!

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

    (@jules-colle)

    It should work like OR. Just make sure to save the form before you start adding conditions and make sure you check for typo’s. If it still doenst work please paste here the code of the form and the conditional fields (export settings) you are using, and ecplain what it is exactly that you would like to happen.

    Thread Starter MarcoWilli

    (@marcowilli)

    I realized that it does not work at all if using more than one condition line even for different fields.

    Maybe it′s kind of broke like others report compatibility issues with actual cf7 version?

    Thread Starter MarcoWilli

    (@marcowilli)

    form:

    <p>[select* location first_as_label "Veranstaltung" "Oberwiesenthal (11.01.17)" "Arber (12.01.17)" "Oberjoch (19./20.01.17)" "Feldberg (25./26.01.17)" "Wilder Kaiser (29./30.01.17)" "Winterberg (08.03.17)"]</p>
    
    [group tage-std]
    <p>[checkbox* tage use_label_element "Tag 1" "Tag 2"]</p>
    [/group]
    [group tage-erw]
    <p>[checkbox* tage-exp use_label_element "Tag 1" "Tag 2" "Abschlusstraining"]</p>
    [/group]

    <p>[text person2 placeholder "Zweiter Teilnehmer"]</p>
    [group teilnehmer-2]
    <p>[text* mail2 placeholder "E-Mail-Adresse"]</p>
    <p>[text* sohlenlaenge2 placeholder "Sohlenl?nge"]</p>
    <p>[text* z-wert2 placeholder "Z-Wert"]</p>
    [/group]

    conditions:

    
    if [person2] not equals "" then show [teilnehmer-2]
    if [location] equals "Wilder Kaiser (29./30.01.17)" then show [tage-erw]
    if [location] equals "Oberjoch (19./20.01.17)" then show [tage-std]
    
    Thread Starter MarcoWilli

    (@marcowilli)

    Update:
    Something is strange!
    Tried the test form from the tutorial and did not work with more than one condition line.

    Fiddled around with it and then it worked. In Firefox (my main browser). But not in IE 11, Chrome 53, … .
    Some more fiddling results in: Only works (for now) when logged in into backend. WTF?!

    Some support would be really great! Thanks =)

    Thread Starter MarcoWilli

    (@marcowilli)

    OK – GOT IT!

    The plugin “does not work” together with plugin “Cachify” (or maybe all cache plugins I guess).

    Solution:
    Enter PageID into Cachify exclude options.

    • This reply was modified 8 years, 1 month ago by MarcoWilli.
    Plugin Author Jules Colle

    (@jules-colle)

    I was suspecting a cache problem already. But I’m still figuring some things out. I am also getting strange behavior on my test website even though I’m not using a caching plugin. Weird stuff going on, but I’ll figure it out eventually ??

    Thanks for reaching out and doing some testing yourself. I’m glad it’s solved for now

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multiple values possible?’ is closed to new replies.