Skip to main content
Participant
Apr 8, 2025 8:33 PM UTC
Answered

Adobe Acrobat Customer Javascript

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?

try67
try67Correct answer
Community Expert
Apr 8, 2025 10:01 PM UTC

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
Apr 14, 2025 8:46 PM UTC

[MOVED TO THE ACROBAT DISCUSSIONS]

Translate
Acrobate du PDF, InDesigner et Photoshopographe
try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
Apr 8, 2025 10:01 PM UTC

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...

Translate