Skip to main content
Participant
Nov 8, 2019 5:02 AM UTC
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
Nov 8, 2019 10:50 AM UTC

4 replies

Bernd Alheit
Community Expert
Community Expert
Nov 8, 2019 6:50 AM UTC

In your code avoid the division by zero.

Translate
37711971Author
Participant
Nov 8, 2019 8:13 AM UTC

Thank you. 

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

Translate
Bernd Alheit
Community Expert
Community Expert
Nov 8, 2019 9:22 AM UTC