11 Replies Latest reply on Dec 21, 2016 1:24 PM by bertrand

    Perform script based on contents of text field

    filopastrymaker

      If there is a text field with contents xxxxxxxxxxx, how can I define a set of scripts that look at the first 3 characters of the field and perform different scripts depending on the result?

       

      eg

       

      If (textfield first 3 characters) = abc or def or ghi

      Perform Script A

       

      else

       

      If (textfield first 3 characters) = jkl or mno or pqr

      Perform Script B

       

      else

       

      If (textfield first 3 characters) = stu or vwx or 123

      Perform Script C

       

      else

       

      Perform Script D