Answered
I'm tying to create an expense report. I want the fields to calculate. But when there are not data I would like the field to be blank instead of "0"
For example. I have a mileage rate in one fied of "0.55" cents a mile. That field should be multiplied by the # of mles driven. When there is mileage, the value should be displayed.
The problem is when there are no miles driven, I would like the field to be blank, instead of "0" (number zero).
I would like to do the same for total fields for the columns too.
I am using Acrobat Pro
For all methods of calculations one can use the 'custom validation script' to test the result for zero and set the field's value to the 'null' string.
This code does not work if the result is less than the displayed number but greater than zero. This would not be likely for this situation, but it is a possibility in other types of calculations that could also use this technique.
George Kaiser