4 Replies Latest reply: Nov 25, 2014 6:18 AM by AceBK RSS

    Text field value based on numeric value of a number field

    AceBK Community Member

      I am trying to make a fillable PDF form for a Performance assessment.  I have three radio buttons that put a value in a total box.  For example, Not good = 15, Good = 30, Excellent = 45.  So depending on which radio button you select, the value of it will be 15, 30, or 45.  I have 6 different categories so the score can be anywhere from 100 - 300.  Based on these scores, there ranking is determined, so what I am trying to do is make a text box equal their ranking based on their total score.  This is what I tried with no success.

       

      SalesPA.SalesPA.OverallScore::calculate - JavaScript, client)

      if TotalPoints > 234

      this = "Exceeding Expectations";

      if TotalPoints > 179

      this = "Meeting Expectations";

      if TotalPoints > 99

      this = "Not Meeting Expectations";

      }