There is a functionality available in pdf.js that allows for automatic calculations within PDF form fields if formulas are set. When a PDF form field changes value, the calculations are triggered, and ...