Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

The math isn't working properly in my form

Community Beginner ,
Jul 17, 2023 Jul 17, 2023

I have a form where there are two different items that can be selected in multiples, and then four different choices of warranty at four different prices that can apply, based on which item and how many of them. It works beautifully when adding them together, but if you delete one item it does not subtract the warranty price for that one. If, however, you click on the default warranty (which is included) then click again on the desired warranty, it updates. Is there a way to get it to update without going back to the default?

TOPICS
PDF forms
544
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jul 17, 2023 Jul 17, 2023

Check the fields calculation order.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 17, 2023 Jul 17, 2023

Check the fields calculation order.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 18, 2023 Jul 18, 2023

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 17, 2023 Jul 17, 2023

Find the Calclation Order setting in the Prepare Form panel, on the "More Tools" menu. 

 

CalcOrder.png

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 18, 2023 Jul 18, 2023
LATEST

Thank you -- that works!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines