Skip to main content
Participant
April 8, 2025
Answered

Adobe Acrobat Customer Javascript

  • April 8, 2025
  • 2 replies
  • 395 views

I am trying to create a custom JavaScript but literally have no idea what I am doing. 

 

I created a custom evaluation scorecard with 15 opportunities for points. Various sections may be N/A. My dropdowns are named "Dropdown1" through 15. My total is "Total" - Each time I calculate it with the presets Acrobat provides, it gives me 6,000.00%, but I need this ONLY to show 60%. Each dropdown has the option to get 0%, 50%, 100%, or N/A. Can someone help me with a custom JavaScript to correct this issue?

Correct answer try67

Make sure you set the total field's value to Number, not Percentage, and add the "%" symbol manually, or divide the selected result by 100, since 1 equals 100% in a Percentage field, so 60 would equal 6000...

2 replies

JR Boulay
Community Expert
Community Expert
April 14, 2025

[MOVED TO THE ACROBAT DISCUSSIONS]

Acrobate du PDF, InDesigner et Photoshopographe
try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 8, 2025

Make sure you set the total field's value to Number, not Percentage, and add the "%" symbol manually, or divide the selected result by 100, since 1 equals 100% in a Percentage field, so 60 would equal 6000...