dixon52 Posted November 9, 2018 Report Share 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. Link to comment Share on other sites More sharing options...
Power User Steven Zakulec Posted November 12, 2018 Power User Report Share 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. Link to comment Share on other sites More sharing options...
KatrinaVC Posted January 24, 2019 Report Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now