Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3683

Unexpected behavior when setting value for radio button with /Opts entry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4, 2.0.5, 3.0.0 PDFBox
    • 2.0.22, 3.0.0 PDFBox
    • AcroForm
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              msahyoun Maruan Sahyoun
              msahyoun Maruan Sahyoun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: