Skip to main content
LGN__
Participating Frequently
March 21, 2025
Question

Acrobat DC Form - Calculated values stopped working

  • March 21, 2025
  • 2 replies
  • 225 views

I am developing a company form.

Page 2 of the form has some content replicated from page 1, such as EmployeeName.

Since I want it to be read-only on page 2,  I have named the field EmployeeName2 and set the field set as calculated.

 

The calculated field uses this custom calculation script.

event.value = this.getField("EmployeeName").valueAsString;

it worked fine for a while.  

After several "form resets", signing and signature "clear"-ing the calculated fields stopped working.

I went into each calculated field, edited the calculation, Ex: "event.value4 = ..." click on another field, then remove the 4, leaving the original calculation and the field start working again.

 

Is this something that happens to others, is there a way to program around this, did I do something wrong?

 

I have the latest updates installed on Acrobat Pro DC.  

 

 

2 replies

try67
Community Expert
Community Expert
March 22, 2025

So you're saying that "4" was not there in the code before you signed and then cleared the signature? If so, I've never seen anything like that happening in the past. It's probably a bug in the application.

PDF Automation Station
Community Expert
Community Expert
March 21, 2025

Check the console for errors.