Hi, Thanks for the information. However i tried using “WS” (will save) and
“DS” (did save) option nothing worked. Below is the peace of code used to check the functionality.

pd4ml.addDocumentActionHandler(“WS”, “this.getField(‘i1′).value =’kkkk’;”);
pd4ml.addDocumentActionHandler(“DS”, “this.getField(‘i1′).value =’datasaved’;”);

When i tried saving pdf using file -> SaveasCopy menu option the form field is not populated with neither of the above mentioned values.

PLease let me know how can i accomplish this.