Conditional Logic: Questions about "Any" vs "All"

  • Profile Image
    jcotalacare
    Asked on January 03, 2018 at 01:00 PM

    We have a form (https://www.jotform.com/build/73528302984159?iak=67d45559377211927e9b7fb4748d5446-2c3eb5c1323065fc)

    This form has two fields. based on the input of those two fields, the form will direct them to specific pages.

    Fields:

    Single choice option: 13 options (1,2, 3,... or 12). Only one can be chosen

    Multiple field option with four options: one, multiple or all can be chosen

    Members, Internal, Public, Providers

    My question:,

    I understand that on the Conditions, if Choosing "Any" of the multiple "ifs" for one field means that if one, some or all are chosen then the action will occur.

    How does the "Any" work if you have a "is Equal to" in one field and if you have more than one "is equal to" for the other field?

    An example:

    If i want a condition where:

    on the field #1, the option "Member Communication Request" is chosen

    And if on field #2, either or both options: "Members" or "Providers" are chosen, but not if the remaining two options are chosen

    Then i want the page to redirect to "http:..........com".





  • Profile Image
    aubreybourke
    Answered on January 03, 2018 at 02:27 PM

    If your conditions conflict with other conditions it will result in unpredictable behavior. In most cases the expected result will be incorrect.

    To be safe you should only use "ALL" conditions. Don't use "ANY" conditions. That will make your logic simpler and easier to understand.