I have created a form in Acrobat X Pro. The form has several fields on it that a user would enter data in to get the cost of computer maintenance.
I need to write a javascript calculation for the Total1 field.
In Excel, I can write the formula like this: =IF(C6>0,SUM(849+(C6*10)),0) C6 is form field "Qty10 or Under", this number can be changed.
I need to add a base of $849 and then add it to form field "Qty10 or Under" with a multiplication of 10.
However, I am trying to utilize the simplified form notation to bring a calculation.
What I need to do bottom line is show a zero amount in the "Total1" field if the "Qty_10_or_under" field is at zero. Then I need to have the "total1" field show $849 if someone puts "1" in the "Qty10_or_under" field. "2" would equal $859, and so on.
What I have right now is this: (Qty10_or_Under>0,(Qty10_or_Under*10-10)+(849)) Using that formula, when I enter a "0" in the "Qty_10_or_under" field, I get $839. "2" in the "Qty_10_or_under" shows $859.00 as it should.
I just need to know how to make it to where I put a "0" in the field that I show a zero amount in the "Total1" field.
I am not familiar with using java script for the customized calculation script so I am trying to use the simplified.
If anyone can show me how to do the custom script it would be greatly appreciated.
Can anyone assist with this on Acrobat X?
Thanks!