• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Adobe Acrobat How to hide if the total value percentage if zero

Community Beginner ,
May 28, 2024 May 28, 2024

Copy link to clipboard

Copied

Hello, Everyone. I'm still a beginner on this one. I appreciate for those people who will help with my concern. I'm making forms that has percentsage as total.

How do you hide the total value percentage if zero? 

TOPICS
Create PDFs , How to , PDF , PDF forms

Views

83

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 28, 2024 May 28, 2024

To do this you have to write your own formatting script.

 

Use this custom format script.

 

event.value = (event.value!=0)?util.printf("%0.0f%",event.value*100):"";

 

 

Votes

Translate

Translate
Community Expert ,
May 28, 2024 May 28, 2024

Copy link to clipboard

Copied

To do this you have to write your own formatting script.

 

Use this custom format script.

 

event.value = (event.value!=0)?util.printf("%0.0f%",event.value*100):"";

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 29, 2024 May 29, 2024

Copy link to clipboard

Copied

LATEST

Thank you. I appreciate it. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines