Copy link to clipboard
Copied
Hello,
I have a dropdown field called Department with 10 or so options and a text field called Manager. I have defined the export value per option under Department field and added the Custom Calculation script as event.value = this.getField("Department").value; to autopopulate the respective Manager field.
This is working fine but I want the user to be able to edit/overtype the autopopulated value in the Manager field and save the manually entered Manager name. Any suggestions with Acrobat DC Standard PDF form?
Use this method;
if(event.source&&event.source.name=="Department"){
event.value = this.getField("Department").value;
}
Copy link to clipboard
Copied
Use this method;
if(event.source&&event.source.name=="Department"){
event.value = this.getField("Department").value;
}
Copy link to clipboard
Copied
Works well. Thank you so much!