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

Removing Unwanted Zero in Form with Auto Calculations

mmaynard
Registered: Jul 15 2008
Posts: 3

I am having trouble getting rid of the zeros that show up when I set up calculations in my form. Everything calculates fine but the entire row where a total is in is shown as $0.00. I would like for the form field to be empty until the two forms being calculated are inserted then the total will be shown. Please if anyone can help I have been cruising the forums for hours. Thank you.

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
On the "Validation" tab use the following "Custom validation script":

// if zero set value to null
if (event.value == 0) event.value = '';

George Kaiser

mmaynard
Registered: Jul 15 2008
Posts: 3
I couldnt get anything to change I dont think I am typing it correctly. Does it have to be typed in Java? I am not too familiar with the code. Should it be (//) ?
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
I don't think that will work.

This might help: http://www.adobeforums.com/webx?128@@.59b5ca88


George