Calculate quantity times price in a PDF form
By PDF Bop · Published
Create separate fields for Quantity, Price, and Total, then define the total in the field’s Calculate properties. Use stable internal field names when the formula reads the other values.
Build and test the formula
- In Prepare a form, create the three text fields. Name the inputs
QtyandPrice. - In the Total field’s Calculate tab, use the product of those inputs or simplified notation such as
Qty * Price. - Save and test with two values. Change one input again and check that the Total updates after you leave the field.
Our sample stored 37.5 when quantity was 3 and price was 12.50. A calculated total and its appearance are separate settings. Apply number or currency formatting if the printed answer should show two decimal places.