**Get started** with the next version of Acrobat.

New "parts" for has 7 columns across: Part number, description, unit price, quantity, extended price, discount %, line total. I can't find a way to get the calculation for the line total correct. If I multiply the entend price x discount = the discounted value (example price of $100; 10% discount, results in the line total of $10 instead of $90). Everyother item on the form works except this one. Thanks!

Jennifer Umbright 1421 days ago

Are there any error messages in the console?

If you insist on using the no brain options, you can create extra fields to change the subtrahend value to its negative value (multiply by -1) and then add the negative value.

You could also use the Simplified Field Notation if the field names comply with the naming convention required by the simplified field notation and the subtraction operator, "-".

As a last resort you can use the custom JavaScript calculation.

The above assumes you are using Acrobat and not LiveCycle Designer.

George Kaiser answered 1421 days ago |
Comments (3) | New Comment

| Report

I tried adding an extra field to hid the discounted value - not sure how to add change to the negative. I am using Adobe for calculations for the first time - so no brains is where I am right now.

Jennifer Umbright Commented 1421 days ago | Report

You can make a field with an optional value of -1 and then use that field to compute the negative of the discount amount.

George Kaiser Commented 1421 days ago | Report

Thanks - Gilad was able to solve issue - I was missing assigning the value of 0-1 for the percentage. I will make a note of this for next time. I appreciate your feedback!

Jennifer Umbright Commented 1421 days ago | Report

*Try the next version of***Acrobat**

Free trial

**Get started** with the next version of Acrobat.

RANK | MEMBER | POINTS |
---|---|---|

1. | Gilad D (try67) | 54680 |

2. | Karl Heinz Kremer | 38050 |

3. | George Kaiser | 29890 |

4. | Max Wyss | 21560 |

5. | Thom Parker | 21270 |

6. | David Dagley | 19920 |

7. | Almir R V Santos | 13640 |

Last 30 Days

Using Adobe Acrobat. I have formatted each text box as a number,and giving each a unique name. I am just to green with this....not sure what info. to supply.

Jennifer Umbright Commented 1421 days ago | Report

If it works with other fields, there must be an issue with one of the settings. Also, try re-applying the calculation script. It can sometimes get corrupted, for example when you change the name of one of the fields involved.

Gilad D (try67) Commented 1421 days ago | Report

The other fields are "products" - I need to subtract the discount from the extended price. My only choices are "sum, product,average, minimum and maximum. I don't know how to get difference between two fields.

Jennifer Umbright Commented 1421 days ago | Report

I see what's the issue now. If you define the discount field as a percentage field its value will be between 0 and 1, and then you can use the "product" operator to calculate the discounted price. But more generally, to use subtraction you can use the second option in the Calculate tab, the Simple Field Notation, where you can simply enter the names of the fields and the mathematical operators you want to use (the field names may not contain spaces, comma's or other special characters, though).

Gilad D (try67) Commented 1421 days ago | Report

Gilad - you solved it! I was not setting the percentage value range - thank you so much for your help! Awesome.

Jennifer Umbright Commented 1421 days ago | Report

Glad to hear it. Please mark the question as answered.

Gilad D (try67) Commented 1421 days ago | Report