6 Replies Latest reply on Aug 25, 2017 8:34 AM by jenyffer.com

    Javascript Custom Calculation Script generates populated data, but won't let you input your own text.

    jenyffer.com

      I've created a numerous amount of check boxes to populate a sentance in one main text area. I have this basic code used under Custom Calculation Script:

      ------------------------------------------------------------------------

      var a =""

      if (this.getField("sample text").value =="Yes")

      {

      a=a + "R - sample text.  "

      }

      event.value=a

      ------------------------------------------------------------------------

      When i go to the main text area that contains that code and i click in it...i see the populated sentance i wanted, but what i want is to add more text to it....when i try to type in..it shows up fine, but when i click out of the text area, it disappears...i need it to stay.

       

      please help.