• Resolved Zygar

    (@zygar)


    I need a field to become visible when one of results take place

    How to write correctly this logic:

    if fieldname5==13 or 15 or 16 or 17 etc, show this fieldname6;
    else if fieldname5== 18 or 19 or 20, show that fieldname7;
    else show fieldname8;

    Please help

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @zygar,

    You simply should click the link: “Show Dependencies” in the choices section of the DropDown field (fieldname5), and select the fieldname6 through the list of dependent fields for the choices: 13, 15, 16 and 17, and select the fieldname7 field through the list of dependent fields for the choices: 18, 19 and 20

    and that’s all.
    Best regards.

    Thread Starter Zygar

    (@zygar)

    Aha ha you are genius!!!:) You already have this option and it works! Many thanks / didn’t get it before I’ve created a monster – 45 options of the result, each one with its own id number and nothing…

    have a nice weekend

    • This reply was modified 8 years, 4 months ago by Zygar.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiple arguments if else’ is closed to new replies.