10 Replies Latest reply on Feb 12, 2018 1:26 AM by try67

    Please help with simple conditional equation


      I'm not familiar with coding languages at all, but I'm trying to make a conditional equation on an Acrobat form.  This is what I've pieced together by looking at other forums.  Could I have someone fix whatever is wrong with it? Please. There are just the 3 values from the "size" field that return one of the 3 values for the "size mod" field.


      if (Size = "M") {

          Size Mod = "0";


      else if (Size = "L") {

          Size Mod = "-1";


      else if (Size = "S") {

          Size Mod = "1";