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

This pdf form appears to have stopped functioning. Might one of you geniuses take a look and assist?

New Here ,
Aug 04, 2022 Aug 04, 2022

This pdf form appears to have stopped functioning. Might one of you geniuses take a look and assist in getting the validation and signature function to work? It does not seem to generate errors on the face of it but there are some value errors in the debug.

 

Thank you

 

Diego

 

 

TOPICS
JavaScript
2.8K
Translate
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 ,
Aug 09, 2022 Aug 09, 2022

You have to rename the "display" variable. It will cause your code (and any other similar code running at the same time!) to not work correctly.

View solution in original post

Translate
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 ,
Aug 09, 2022 Aug 09, 2022

Use correct values for:

event.target.display

Translate
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 ,
Aug 09, 2022 Aug 09, 2022

I don't think that's the issue. The display.X constants are actually just numbers, so 2 is the same as display.noPrint, for example. However, calling a variable "display" might not be the best idea.

To be honest, I don't really see a problem with the file. @Diego22347945ppfd , what's the exact issue you're having with it?

Translate
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
Explorer ,
Aug 09, 2022 Aug 09, 2022

Hi G,

 

This came to me from a technician that could not sign the form. When I try to click on the validation window, the form does not validate, nor does the signature field enable.

 

Thank you for checking this out.

 

Diego

Translate
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 ,
Aug 09, 2022 Aug 09, 2022

Make sure they open the file in Adobe Acrobat (or Reader), and not on a mobile device.

Translate
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 ,
Aug 09, 2022 Aug 09, 2022

When I remove the line

 event.target.display = display;

there is no more error.

Translate
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
Explorer ,
Aug 09, 2022 Aug 09, 2022

Thank you!. I will try it out.

Translate
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 ,
Aug 09, 2022 Aug 09, 2022

You have to rename the "display" variable. It will cause your code (and any other similar code running at the same time!) to not work correctly.

Translate
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 ,
Aug 10, 2022 Aug 10, 2022
LATEST

Renamed the display variable and it seems to be working now. Was able to validate the form and sign. Thank you very much for your mentorship.

Diego

Translate
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