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

Strange Behavior

Explorer ,
Oct 02, 2020 Oct 02, 2020

Copy link to clipboard

Copied

I'm building a user-editable form and I've noticed that when values are added, some fields don't update until another field is altered. It doesn't matter what filed. It's as if they're calculating one step behind. 

 

For instance, if I have a field 'output', which displays the sum of input1 and input2. 

With nothing filled out, output displays '0'.

I enter 3 to input1, but output still displays '0'.

I enter 5 to input2, and output displays '3'.

I delete the value in input2, and output displays '8'.

 

It just keeps going round and round, one calculation behind.

 

This is just a simplified example to illustrate the behavior. My actual form is using javascript to handle the calculations.

 

I can't seem to figure out why it's doing this. Is there some limit on the number of fields on a form, before it starts to act funny?

 

Anyway, much appreciation for any direction.

TOPICS
Acrobat SDK and JavaScript

Views

421

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

correct answers 1 Correct answer

Community Expert , Oct 02, 2020 Oct 02, 2020

Change the field calculation order.

Votes

Translate

Translate
Community Expert ,
Oct 02, 2020 Oct 02, 2020

Copy link to clipboard

Copied

Change the field calculation order.

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
Explorer ,
Oct 02, 2020 Oct 02, 2020

Copy link to clipboard

Copied

Where can I find that option?

Is this like the Tab Order setting?

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
Explorer ,
Oct 02, 2020 Oct 02, 2020

Copy link to clipboard

Copied

Found it. It is in the same area as Tab Order. 

I've got over 400 fields on this damn form. Gonna take a while to swim through the order, they was Acrobat has it set up...

 

Thank you, kindly.

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 ,
Oct 02, 2020 Oct 02, 2020

Copy link to clipboard

Copied

Yes, you can find it also at the More dropdown menu.

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
Explorer ,
Oct 02, 2020 Oct 02, 2020

Copy link to clipboard

Copied

I assum items higher on the list calculate first, so any change will cascade down?

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 ,
Oct 02, 2020 Oct 02, 2020

Copy link to clipboard

Copied

Correct

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
Explorer ,
Oct 04, 2020 Oct 04, 2020

Copy link to clipboard

Copied

LATEST

Thank you very much. That solved nearly all my issues.

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