1 Reply Latest reply on Oct 15, 2015 8:44 AM by Test Screen Name

    if else statement to read as text

    stephaniek11580829

      Basically I have a column with marks that have been added up (that script is working 100%) for a project and on the other side next to each mark I need the field to say whether the learner is competent or not yet competent based on the mark achieved.

      I am not very experienced in JS but here is what I have been trying. I thought a simple if else statement would be the best approach for such a simple task but maybe I have gone the complete wrong direction? Please any help would be great.

       

      if (Mark1 = 18) {

          Status1 = "C";

      }

      else

      {

          Status1 = "NYC";

      }