AnsweredAssumed Answered

Java Script for Or

Question asked by VinaEllefson7101 on Dec 7, 2016
Latest reply on Dec 8, 2016 by VinaEllefson7101

I have a java script that is checking a field value and populate depending on data but it is not working. The input TM = U and i am expecting a ServLev= CG but it still populate a ServLev = U

 

if (TM == "M" || TM == "U" ) (ServLev = "CG");
if (TM !== "M" || TM !== "U" ) (ServLev = TM)

Outcomes