Hi Team,

Please refer to the link PDF [
https://drive.google.com/file/d/17XoTxgGSrn9-XMpZsSqhNanzTW6UBCmg/view?usp=sharing
].

 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,
indeterminate  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.

Reply via email to