[
https://issues.apache.org/jira/browse/PDFBOX-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17228288#comment-17228288
]
Maruan Sahyoun commented on PDFBOX-3683:
----------------------------------------
Using Acrobat and click on one of the "Checking" options the /V entry caries
the index
Using Acrobat js:
- using {{value = "Checking"}} the first "Checking" option is set
- using {{value = 4}} the third "Checking" option is set
- getting the value "Checking" is returned regardless of which checking option
has been selected
> Unexpected behavior when setting value for radio button with /Opts entry
> -------------------------------------------------------------------------
>
> Key: PDFBOX-3683
> URL: https://issues.apache.org/jira/browse/PDFBOX-3683
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.4, 2.0.5, 3.0.0 PDFBox
> Reporter: Maruan Sahyoun
> Assignee: Maruan Sahyoun
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
>
> Setting the value for a radio button the behavior is unexpected as when
> setting the value the entries in {{/Opts}} need to be used is there is such
> entry otherwise the names for the {{On}} values in the normal appearances
> entries need to be used. When getting the value always the set names entry is
> returned.
> Also see the discussion at PDFBOX-3656.
> The {{/Opts}} entries shall only be considered when exporting or importing
> the AcroForm fields data.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]