16 Replies Latest reply on Mar 25, 2011 1:46 PM by DCsTheFlash

    Just starting out with calculations between fields

    DCsTheFlash Level 1

      I'd like to to include some text fields where numbers are entered, then a button is pressed, and the mathematical results of the fields are displayed.

       

      In Adobe Acrobat Pro 9 I opened Forms ... Start Form Wizard, and placed all the elements - three Numeric fields and a button. I want to add Javascript to the button to calculate the fields, but I can't see any way to add the script to the button. Can someone tell me what the steps are to add a script to the button? Should I be using something other than Form Wizard?

       

      These results (multiplication and division) should simply display in the Numeric field. They won't be saved anywhere. I have the Javascript already working on mobile devices and want to create a PDF version for those without smartphones.

       

      Thanks!