Skip to main content
Participant
November 8, 2019
Answered

Fix JavaScript in PDF form

  • November 8, 2019
  • 1 reply
  • 971 views

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.

This topic has been closed for replies.
Correct answer 37711971

Like this:

https://answers.acrobatusers.com/Problem-using-division-calculation-in-Adobe-AcrobatX-q9810.aspx

 

 


Great!

Thank you very much. 

1 reply

Bernd Alheit
Community Expert
Community Expert
November 8, 2019

In your code avoid the division by zero.

37711971Author
Participant
November 8, 2019

Thank you. 

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

Bernd Alheit
Community Expert
Community Expert
November 8, 2019