AnsweredAssumed Answered

Else if script not working

Question asked by AppGuy on May 14, 2013
Latest reply on May 15, 2013 by philmodjunk

Title

Else if script not working

Post

     I have a script trigger based on a checkbox value list.  The checkbox custom value is text.. For instance. "Red car"

      
     My script is basically.. If (table::field) ="red car"
      
     Then I have a few else if statements if the other values.  These values are all being stored in one field.
      
     The problem seems to be when I have multiple entries.  I am using the "or" statement in the text to ensure I am getting the right text.. For instance.. "Red car blue car" or "blue car red car".  This way no matter which one they pick 1 st it should still work..???  Any suggestions???  
      
     I have done the script debugger and it shows the right text but skips over the process.

Outcomes