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

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;

Are you sure you're using Adobe Reader? This code should work fine there.
On Feb 24, 2015 12:04 AM, "christies3837445" <[email protected]>

Similar Messages

Maybe you are looking for