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

Fix JavaScript in PDF form

Community Beginner ,
Nov 07, 2019 Nov 07, 2019

Copy link to clipboard

Copied

An error message is displayed if the value of a PDF form cell is blank or 0.

The message is "The value entered does not match the field format".

Please help me to know how to fix the issue.  Although the calculation itself is possible. But the error message shows up each time when a cell is entered. I need to have a solution to set the appropriate JavaScript of the form.

TOPICS
Acrobat SDK and JavaScript

Views

150

Likes

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

correct answers 3 Correct answers

Community Beginner , Nov 08, 2019 Nov 08, 2019

Thank you. 

How to write a Script to avoid the division by zero?  

Likes

Translate

Translate
Community Expert , Nov 08, 2019 Nov 08, 2019

Likes

Translate

Translate
Community Beginner , Nov 08, 2019 Nov 08, 2019

Great!

Thank you very much. 

Likes

Translate

Translate
Community Expert ,
Nov 07, 2019 Nov 07, 2019

Copy link to clipboard

Copied

In your code avoid the division by zero.

Likes

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 Beginner ,
Nov 08, 2019 Nov 08, 2019

Copy link to clipboard

Copied

Thank you. 

How to write a Script to avoid the division by zero?  

Likes

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 ,
Nov 08, 2019 Nov 08, 2019

Copy link to clipboard

Copied

Likes

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 Beginner ,
Nov 08, 2019 Nov 08, 2019

Copy link to clipboard

Copied

LATEST

Great!

Thank you very much. 

Likes

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