Hi Team,

Please refer to the attached PDF.

 Requirement is tick the sex checkbox (Group of checkbox with one  PDF
Field name .ie."ap.sex") based on its possible values like  *male,
female,  **unspecified*, "i*ndeterminate"  and  "i**ntersex *" .

    Sex.    Male *[] *  Female*[] *   Indeterminate/Intersex/Unspecified
*[]*

Facing issue for "*i**ndeterminate"  and  "i**ntersex *"  with below code.
Selected below approach to set PDF Fields because filling encrypted PDF
File.

COSDictionary  cosDictionary3=pDAcroForm.getField("ap.sex").getCOSObject();
cosDictionary3.setString(COSName.V ,"unspecified");

Could you please help out with this issue ?

Thanks
Damaji.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to