2 Replies Latest reply on Aug 7, 2014 6:17 AM by Magus069

    Livecycle Designer - Checkbox Java "If" Statment - Box won't uncheck




      I am writing a simple form with two numeric fields and a checkbox. What I want to happen is when the user selects the CheckBox, the value of the first numeric field (purprice) is copied to the second numeric field (purpriceB). When the box is un-checked, the value in the second numebric field should return to null or 0.


      Here is my statement. I placed it in the "Click" event of the checkbox (Java):




      else if




      The form works right on the first click by coping the 1st value to the 2nd field, but won't allow me t o uncheck the checkbox after it has been checked the first time.