Scribus Forums

Scribus => PDF Generation => Topic started by: dcollins on March 13, 2019, 04:28:17 am

Title: Laggy field script update
Post by: dcollins on March 13, 2019, 04:28:17 am
Making an interactive PDF form: (A) I have a series of ~40 numeric fields, (B) I have a field that computes the sum of those fields in A, and (C) I have a field that presents another number, being a JavaScript switch based on B (an if-then script with 4 different range cases).

If (filling out the PDF form in Adobe Acrobat) I update one or more fields in A, then the sum field B is immediately updated, but the tertiary switching field C is not. Only if update some other field of A (even filling in zero (0)) does C finally recognize the change to B and update. It exhibits this laggy behavior (need to touch one extra field) whether the sum B is being adjusted up or down.

Anything obvious I've done wrong to cause this? Any idea to fix this laggy field update?