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

Adobe Acrobat Pro DC - Error. The value entered does not match the format of teh field.

New Here ,
Feb 13, 2018 Feb 13, 2018

Copy link to clipboard

Copied

Good afternoon, Appreciate some help...I am new to using the Adobe Acrobat CD Pro in Preparing forms and have come up with this error problem. I have tried what I believe are the right scripts and options...While this is a little more complex in the form I am preparing this is the simple basis...

Appreciate any assistance. The Adobe DC Acrobat looks to be a very good tool...if I can get over this proble.

Regards

Ren Kelly

TOPICS
PDF forms

Views

2.4K

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
1 ACCEPTED SOLUTION
Community Expert ,
Feb 13, 2018 Feb 13, 2018

Copy link to clipboard

Copied

The error is being reported by the format script. If you remove the formatting you won't see the error message, but of course the error will still happen and you won't have a format.

This topic has come up many times so you'll find the answer in another post.

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

View solution in original post

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 ,
Feb 13, 2018 Feb 13, 2018

Copy link to clipboard

Copied

In Acrobat forms a field with a null value or blank field is treated as javing a value of zero in calculations. So 0 boys + 0 girls is 0 divided by 0 enrolled students. Divison by zero is not possible. You need to test that your divisor is not 0 and not do the calculation if the divisor is zero. Use search for finding more answers to this wuestion.

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 ,
Feb 13, 2018 Feb 13, 2018

Copy link to clipboard

Copied

The error is being reported by the format script. If you remove the formatting you won't see the error message, but of course the error will still happen and you won't have a format.

This topic has come up many times so you'll find the answer in another post.

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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
New Here ,
May 17, 2020 May 17, 2020

Copy link to clipboard

Copied

I presume by now there is no way to just turn off Division Errors?

The form is going to need 2 fields to be populated.  So when I Enter a value in Field1 = I get the error and have to click OK then Enter a value in Field 2 for.  

 

I also have a Checkbox Script that does some auto-population and field reseting to null and then I get a slew of Division Format Errors

 

Rather aggrivating

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 ,
May 17, 2020 May 17, 2020

Copy link to clipboard

Copied

LATEST

You can script the calculation so that an error never occurs. Test for invalid values and set the result to 0 if the calculation cannot proceed. 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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