Hoppa till huvudinnehållet

What is the syntax for an IF condition with multiple conditions?

Kommentarer

2 kommentarer

  • Jeff Pope

    Works great for two values, but what if there are three? Can't find the correct syntax for that one.

    0
  • Ryan Kelley

    just keep adding operators like:

    =$LeakRepairForm.state.CausedropDownList.value === "UNDT" || $LeakRepairForm.state.CausedropDownList.value === "RBOL" || $LeakRepairForm.state.CausedropDownList.value === "THIS" || $LeakRepairForm.state.CausedropDownList.value === "THAT"

    0

Du måste logga in om du vill lämna en kommentar.