Hoppa till huvudinnehållet

IF condition with multiple values

Kommentarer

1 kommentar

  • Ken Lyon

    I think you're on the right track. I was able to use the same pattern and get a true result for all three cases.

    =$form1.state.textBox1.value == "1" || $form1.state.textBox1.value == "2" || $form1.state.textBox1.value == "3"

    A few things to watch for:

    • Make sure you have two vertical bars. in each case.
    • Make sure there are no spaces around the value.
    0

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