Skip to main content
Inspiring
February 14, 2024
Answered

Downloadable PDF form with calculations

  • February 14, 2024
  • 1 reply
  • 3799 views

I have put together a PDF form that will be on a website for download and want to have some calculations for ticket purchasing. Can this be done on a downloadable form and if so is there a tutorial for adding the calculations?

 

Thanks,

John

Correct answer try67

I am not seeing where to put export value of the check box and when I control-click the check box, there is no calculate tab. Is there a tutorial on how to do this?


You'll find many tutorials, at various levels, here: https://acrobatusers.com/tutorials/

The export value of a check-box can be found under its Properties, in the Options tab:

 

 

The calculation script goes under a text field, not a check-box:

 

 

1 reply

try67
Community Expert
February 14, 2024

Yes, but be aware the calculations will only work if the file is opened in an application that supports PDF scripts. This excludes almost all mobile PDF viewers, and most browser plugins. Most calculations can be done using the first two options under the Calculate tab of a text field. For more complex things you'll need to write a custom script.

jodmcc49Author
Inspiring
February 14, 2024

Will both Android and Apple Acrobat mobile readers support scripts? Can multiple selections be totaled, i.e., checkbox for ticket "a", checkbox for ticket "b", checkbox for ticket "c" added and placed in "Amount" text field? Would that be a custom script? Thanks

Nesa Nurani
Community Expert
February 15, 2024

If you set price to be an export value of a checkbox and then in "Amount" field go to 'Calculate' tab and select 'Value is the...' and pick your checkboxes that you wish to total, it should work on mobile devices (it works for me on Android).