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

Strange Behavior

Explorer ,
Oct 02, 2020 Oct 02, 2020

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
943
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

correct answers 1 Correct answer

Community Expert , Oct 02, 2020 Oct 02, 2020

Change the field calculation order.

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

Change the field calculation order.

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

Where can I find that option?

Is this like the Tab Order setting?

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

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.

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

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

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

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

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

Correct

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

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

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