dixon52 Posted November 9, 2018 Report Posted November 9, 2018 I have a form that adds several fields for a total. Everything works properly, while the document is completely blank the sum field displays '$0' -but I would like the sum field to remain blank so that it can also be printed without a zero in it. Any advice? Basically if the field is zero- show nothing.
Power User Steven Zakulec Posted November 12, 2018 Power User Report Posted November 12, 2018 Javascript is not really my thing, so the best I can probably do is point you in a promising direction. Step 8 of this guide: https://acrobatusers.com/tutorials/change_another_field has a different but related thing it does with a field that clears input. You might want to investigate doing a custom calculation script, that has a condition where the display value is "" or " "- a blank or a single space character, which won't be visible on a printout.
KatrinaVC Posted January 24, 2019 Report Posted January 24, 2019 I, too, am trying to do this. I have tried the script if (event.value=0) event.value = ""; in the custom validation script AND I tried adding it to my custom calculation script and neither is working. I don't know what I'm doing wrong but it is very frustrating! I used Adobe Acrobat for years and never had any problems, so I don't know if this is a Nitro issue or I'm just entering it wrong.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.