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

How to make a subtraction account?

New Here ,
May 22, 2016 May 22, 2016

I can not do a simple subtraction account, since the options are: sum, product, average, minimum and maximum.

TOPICS
Acrobat SDK and JavaScript , Windows
676
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

LEGEND , May 22, 2016 May 22, 2016

The first option under the calculation tab is for computation actions that usually require the same action to be performed on multiple fields for an answer. This is not the usual case for subtraction. Once could use the value of the field to subtract multiplied by -1.

You can use the Simplified Field Notation or the Custom JavaScript options.

You might want to look at some of the many tutorials about Acrobat forms and calculations that are available for free.

Translate
LEGEND ,
May 22, 2016 May 22, 2016

The first option under the calculation tab is for computation actions that usually require the same action to be performed on multiple fields for an answer. This is not the usual case for subtraction. Once could use the value of the field to subtract multiplied by -1.

You can use the Simplified Field Notation or the Custom JavaScript options.

You might want to look at some of the many tutorials about Acrobat forms and calculations that are available for free.

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 23, 2016 May 23, 2016

Great.... tks... And how i calculate a division account?

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
LEGEND ,
May 23, 2016 May 23, 2016
LATEST

Unless your divisor is a non-zero constant you will need to use the Custom JavaScript Calculation option so you can control the flow othe code to avoid division by zero.

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