Henry Siu created PDFBOX-5113:
---------------------------------

             Summary: Cannot retrieve new value on javascript by setv()
                 Key: PDFBOX-5113
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5113
             Project: PDFBox
          Issue Type: Bug
          Components: AcroForm
    Affects Versions: 2.0.22
            Reporter: Henry Siu


I have tried the following code:

PDFormFieldAdditionalActions a = new PDFormFieldAdditionalActions();
a.setV(new PDActionJavaScript("app.alert(\{cMsg: event.target.value, nType: 2, 
nIcon: 2});"));
r.setActions(a);

Which r is PDRadioButton.

I find that event.target.value return the old value instead of the new value 
after change. Is it any reason or is there any way to get the new value?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to