How to remove zero values in Fillable PDF form | Adobe Acrobat Pro

Опубликовано: 29 Октябрь 2024
на канале: SAR Solutions
2,117
22

In this video, I'm going to show you how you can remove or prevent ZERO "0" from the calculated field when the form is blank.

I have shown every single step in the video, just follow as shown.
________________________________________________________________________
If you still facing any problems, Let me know in the comment box down below.

For more videos, Subscribe to our channel:    / @sarservices  
________________________________________________________________________

How to create a dependent Dropdown menu in adobe acrobat
   • How to create Multiple Dependent Drop...  

Create an auto-calculating PDF INVOICE in adobe acrobat
   • Create PDF Invoice With Auto calculat...  

How to add checkboxes and run Javascript in Adobe Acrobat
   • How to add checkbox and run Javascrip...  

________________________________________________________________________
JAVASCRIPT:

event.value = (event.value != 0)?util.printf("%,0.0f",event.value):"";
===========================================
There are 2 options for printing no decimals.

1) use the decimal option util.printf("%,0d",event.value)

1) use the floating point option with 0 decimal places util.printf("%,0.0f",event.value)