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

Simple calculation

New Here ,
May 19, 2016 May 19, 2016

I want to do a simple calculation. A number field (quantity) multiplied by a specific dollar amount for a total cost.

Is there a Java Script for that?

TOPICS
Acrobat SDK and JavaScript
493
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

correct answers 1 Correct answer

Community Expert , May 19, 2016 May 19, 2016

Yes. For example:

event.value = Number(this.getField("Quantity").value) * 5;

Translate
Community Expert ,
May 19, 2016 May 19, 2016

Yes. For example:

event.value = Number(this.getField("Quantity").value) * 5;

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
New Here ,
May 19, 2016 May 19, 2016
LATEST

That worked, Thanks!

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