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

How can I activate a javascript button?

Explorer ,
Mar 09, 2018 Mar 09, 2018

Hello, any help will be greatly appreciated.

I have a sale form I use for work.  Some products, we have to charge 7.5% sales tax, but not on other products.  I am hoping to be able to create something like a checkbox next to each sale item I can click so that 7.5% sales tax is added to that line item.  The way I currently have the form set-up is that I multiply the subtotal box * 0.075 and that gives me the sales tax total (for the entire sale).  Thank you in advance.

TOPICS
Acrobat SDK and JavaScript
323
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 ,
Mar 09, 2018 Mar 09, 2018
LATEST

See this article:

https://acrobatusers.com/tutorials/conditional-execution

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