4 Replies Latest reply on Jul 30, 2014 8:08 PM by Asatani

    Script not working beyond a certain point

    Asatani

      I have a script that checks a field for multiple ranges and changes another field's value depending on which range the first field's value falls within.

       

      If I clear the "Page1_Experience_Actual" field's value, the "Page1_Player_Level" field is equal to 0. This is as expected.
      If I enter 5 into the "Page1_Experience_Actual" field's value, the "Page1_Player_Level" field is equal to 1. This is as expected.
      if I enter 100 into the "Page1_Experience_Actual" field's value, the "Page1_Player_Level" field is equal to 2. This is as expected.
      If I enter 225 or more into the "Page1_Experience_Actual" field's values, "Page1_Player_Level" field is equal to whatever it was prior to entering the number. This is where the script hangs up.

      I can go back and enter any value <= 224 and the script appears to work again.

       

      I have looked over the script several times and the issue doesn't jump out at me. I need a few extra sets of eyes to help me out.

      Pastebin