These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Suppressing Zeros

eliannah
Registered: Jun 13 2008
Posts: 17

I am creating a report card. We have a row of grades. I wanted them to be percentages. I then average the percentages as a final grade at the end.

I figured out the average calc but I have 0% on all of the source fields. I don't want a zero to show at all. I want it blank if there is no data. It is not a calculation it is just a simple percentage field. Does anyone have any ideas?

I am using Acrobat 8.

Thanks,
Natalie

My Product Information:
Acrobat Pro 8.1.2, Windows
telecomm
Registered: Oct 7 2007
Posts: 2
Are you using javascript for your calculation, or the built-in average calculation? There's a way to suppress zeros by attaching a custom calculation script to the field.

If you're already using javascript in your calculations, this post
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/show_hide_fields/

should point you in the right direction.

(Otherwise I could probably have a look at this and post some code in the next day or two, but I might need to know more about the calculations you're performing.)