Skip to main content
Inspiring
March 10, 2026
Answered

need help with script

  • March 10, 2026
  • 1 reply
  • 23 views

I’m trying to use switch (event value) but not sure how to add multiple cases?

    Correct answer Nesa Nurani

    You can do it like this:

    switch (event.value) {
        case "some text":
        case "some text":
        case "some text":

    1 reply

    Nesa Nurani
    Community Expert
    Nesa NuraniCommunity ExpertCorrect answer
    Community Expert
    March 10, 2026

    You can do it like this:

    switch (event.value) {
        case "some text":
        case "some text":
        case "some text":