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

Form fields operate very slow when end user enters an action

New Here ,
Feb 16, 2023 Feb 16, 2023

Copy link to clipboard

Copied

Hello community! Hope all is well.

I created a fillable, daily planner with a total on 90 fillable fields, 60 of which need to be calcualted in the box marked, "PT1".  The calulation was created by right clicking on "PT1"/properties/calulation and finally, selecting the boxes for the fields that are to be calcualted.  After creating 30 pages, with unique form field names, I previewed the file and all of the form fields work and the calculation is correct.  HOWEVER, the PDF responds to the enduser's input EXTREMELY SLOW.

 

After some tireless research I discovered that my issue is likely that the javascript that controls the PDF scans ALL of the fields, each time an input is enter. QUESTIONS:

 

  1.  Is there a script or a way I can instruct the javascript only to calculate a form field when it is selected by the end user?  (I am new to JavaScript and have limited knowledge using it.)
  2.   Did I created the form with bad design logic?  Is it likely my design is the issue?  If so, what should I do differently before I continue creating additional pages?
  3.   Can I hide form fields on any of the following pages, only triggering them to appear when the prior page is checked as completed?  (I would have to create check box I assume., how would I do so?)

 

I have checked the pdf on multiple devices including mac/pc and have the latest version of Adobe Reader installed.  Form responds slow.

 

Please be specific and detailed with your responses.  Treated me like a 5 year old. LOL! (Not really).  I've noticed reading through the community that many experts offer help but speak in "techie" without giving clear step by step solutions on how to correct issues. 

I would appreciate any support on this issue. 

 

PDF Screen Shot.jpg

TOPICS
Create PDFs , How to , JavaScript , PDF forms

Views

1.6K

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 16, 2023 Feb 16, 2023

Copy link to clipboard

Copied

It's very hard to answer these questions without seeing the file, or at least knowing what the calculation code does, but my from experience I can tell you that 60 calculated fields is not a lot at all, and should not cause a noticeable lag, unless there's an issue with the code. You start getting issues when you get into the hundreds of calculated fields, typically. But again, this depends on many factors and you didn't provide us with enough information to give a conclusive answer to your question.

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 ,
Feb 16, 2023 Feb 16, 2023

Copy link to clipboard

Copied

I tried to be very detailed.  Each form field has a value of 1, 2,3 or 5 to be added once end user checks a box or drop down.  The calculation just adds up the points.  That's it.  What other information can I provide?  Attatched is the file.

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 16, 2023 Feb 16, 2023

Copy link to clipboard

Copied

Works fine for me... You should set the drop-downs to commit the selected values immediately, though.

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 17, 2023 Feb 17, 2023

Copy link to clipboard

Copied

LATEST

When I open the form I get following error:


TypeError: this.getFields is not a function
2:Document-Level:RemoveSign

 

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