I am converting an excel form into a pdf form and am trying to duplicate an 'if' statement used in the excel form. the initial value im using comes from a text field called 'aa', I want the calculated value to be placed into a text fields called 'bb'.
i have created both text fields, opened up the properties for text field 'bb' and in the calculate tab selected 'custom calculation script'. This is the code:
var z = this.getField("aa").value;
bb.value = z*0.0575;
bb.value = z*0.0475;
i cant find anything wrong with the code, but for some reason the final value (bb.value) doesnt get displayed in the 'bb' text field on the form. It just remains blank. Any help would be appreciated!
Also, i am using Adobe Acrobat X Standard