4 Replies Latest reply on Mar 10, 2017 1:32 AM by try67

    JavaScript custom calculation script for a percentage

    debbiec70553258 Level 1

      I have created a fillable PDF form in Acrobat Pro DC that needs to tally the scores (on a scale of 1-5) given in several text fields (I used radio buttons), divide it by the total score possible (25) and display it at the end of the form as a percentage. I was told I need a JavaScript custom calculation script. Originally I tried using a simplified field notation, but that did not work. Can anyone help convert this formula to a custom calculation script: ((sum1+sum2+sum3+sum4+sum5)/25)*100.


      Thank you for your time.