Very new to scripting in Adobe Acrobat Pro DC
- October 28, 2020
- 5 replies
- 3411 views
Really could do with your help on this. I am reading posts around text fields auto populating based on dropdown box selection. However, it doesnt seem to work fully.
I have a dropdown box (Level of Cover) with differing levels of Cover such as
£15,000
£25,000
£45,000
Each level of cover has a different claim limit which I would like to auto populate in a seperate text field (ClaimLimit)
I have added the following in Custom Keystroke Script within the dropdown box
if(event.willCommit == false) {
this.getField("Text1").value = event.changeEx;
}
And then added the followingcustom format script within the text box
event.value = this.getField("Level of Cover").value;
However, the text box does not seem to change when I test the dropdown box. It puts in the first one I select, and then does not change when I select a different option
What am I doing wrong?
Thanks anyone, really appreciate the help on this.
I have attached the document
