2 Replies Latest reply on Feb 23, 2015 2:19 PM by christies3837445

    I have set up a override box for a simple calculation but it appears that it doesn't work in reader just pro.

    christies3837445

      Here is what I have in the JavaScript Editor and it works when I use Adobe Acrobat Pro but when I download this pdf form to our extranet (which uses reader) I am unable to change the value when the override box is checked.  I have very limited knowledge of javaScript so any help would be greatly appreciated.

      In the SALE box I am trying to override I have:

      var g=this.getField("SELL");

      var f=this.getField("RATE_2");

      if(this.getField("override").value=="Off"){

      event.value=((g.value*f.value)/100);

      }

      In the override box - mouse up run javascript I have:

      if(event.target.value=="Off"){

      this.getField("SALE").readonly=true;

      }else{

      this.getField("SALE").readonly=false;

      }