Acrobat Javascript: Rating 1-5 represented as % value to gain average
I have a table with 10 rows in an acrobat doc. In one of the columns I need the user to rate the question 1-5. I figured it was easiest to do this with a text field where the user can write 1, 2, 3, 4 or 5. I need to represent these ratings as percentages where: 1=50% 2=75% 3=90% 4=95% 5=100%. At the bottom of the table is a total box where I need the average percentage of the 10 boxes.... any ideas? Im looking to replicate the excel spreadsheet below


