You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2017/02/13 05:40:42 UTC

[jira] [Updated] (PDFBOX-3683) Unexpected behavior when setting value for radio button with /Opts entry

     [ https://issues.apache.org/jira/browse/PDFBOX-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maruan Sahyoun updated PDFBOX-3683:
-----------------------------------
    Description: 
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.  

  was:
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.  


> 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, 2.1.0
>            Reporter: Maruan Sahyoun
>             Fix For: 2.1.0
>
>
> 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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org