Copy link to clipboard
Copied
Hello,
After placing a calculation formula for 2 fields Acrobat automatically places a number in that field which I would like to remain hidden unless something has been entered into that field. So in the image below I have the quantity box being multiplied with the unit price. For all of the fields that nothing has been entered there is a $0.00, and this is what I want to get rid of. I tried the hide option in the property pane for the top extended price box but then it will not show the total for that field. I need these boxes clear so that this form can be printed and filled out or filled out and then printed. Any help would be greatly appreciated!
Add this script as the custom validation script of those fields:
if (event.value==0) event.value = "";
Copy link to clipboard
Copied
Add this script as the custom validation script of those fields:
if (event.value==0) event.value = "";
Copy link to clipboard
Copied
Thank you for your response but this code gives me the following syntax error...
Copy link to clipboard
Copied
Nevermind I left out the "If" at the beginning.
That worked great, thank you!