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

The value entered does not match the format of the field

New Here ,
Jun 25, 2019 Jun 25, 2019

Copy link to clipboard

Copied

I keep getting an error ... The value entered does not match the format of the field [Ten Pay].  The simplified field notation I am using is (BalDue / #Mo) + Disc$.  Can someone help correct this error?

TOPICS
Acrobat SDK and JavaScript

Views

410

Translate

Translate

Report

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 ,
Jun 25, 2019 Jun 25, 2019

Copy link to clipboard

Copied

This happens when you try to divide by zero. Search the forums for "division by zero" and you'll find the code to solve it.

Votes

Translate

Translate

Report

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 ,
Jun 25, 2019 Jun 25, 2019

Copy link to clipboard

Copied

You can also set the format of the field to "None" and see the result of the calculation without any formatting. Sometimes using the custom JavaScript calculation can help you debug the issue.

Votes

Translate

Translate

Report

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 ,
Jun 25, 2019 Jun 25, 2019

Copy link to clipboard

Copied

If you do that the value it will display will be "Infinity", most likely.

Votes

Translate

Translate

Report

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 ,
Jun 25, 2019 Jun 25, 2019

Copy link to clipboard

Copied

LATEST

I usually see "NaN".

Votes

Translate

Translate

Report

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