Skip to main content
Participant
November 8, 2019
Answered

Fix JavaScript in PDF form

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 is closed to new replies. Start a new post to keep the conversation going.
37711971Correct answer
Participant
November 8, 2019

4 replies

Bernd Alheit
Community Expert
Community Expert
November 8, 2019

In your code avoid the division by zero.

Translate
37711971Author
Participant
November 8, 2019

Thank you. 

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

Translate
Bernd Alheit
Community Expert
Community Expert
November 8, 2019