In addition, are you sure that Indeterminate or Intersex are the potential values defined for the checkbox(es). The visible text is not what determines the potential values fo rthe checked/unchecked state. Also it's unusual that a checkbox has 3 potenmtial values as it's either checked or unchecked.
If you upload the the PDF to a shared location I can take a look. BR Maruan Am Mittwoch, dem 17.08.2022 um 08:41 +0200 schrieb Tilman Hausherr: > Hi, > > If this is really a PDCheckBox then call check() or uncheck(). I > can't > see the image, maybe this was an attachment. > > Tilman > > Am 17.08.2022 um 08:26 schrieb Damaji Kalunge: > > Hi Team, > > > > In the editable PDF we have a checkbox as shown below. > > image.png > > > > *Indeterminate / Intersex / Unspecified []* > > * > > * > > We are able to check the above checkbox using below code and > > only > > with value "*unspecified" . > > * Then only the checkbox is ticked in the filled PDF. > > COSDictionary > > cosDictionary3=pDAcroForm.getField("ap.sex").getCOSObject(); > > cosDictionary3.setString(COSName.V ,"unspecified"); > > ** > > We have requirement to set the checkbox value *Indeterminate or > > **Intersex * then by with value "i*ndeterminate" or "i**ntersex > > *" > > does not ticked the checkbox in the filled PDF. > > > > I am afraid if we set the last value to PDF Checkbox then > > downstream > > processing may have an impact which is not in our control to fix or > > analyze. > > > > Could you please help out in this scenario ? > > > > Thanks > > Damaji. > > > > * > > * > -- -- Maruan Sahyoun FileAffairs GmbH Josef-Schappe-Straße 21 40882 Ratingen Tel: +49 (2102) 89497 88 Fax: +49 (2102) 89497 91 sahy...@fileaffairs.de www.fileaffairs.de Geschäftsführer: Maruan Sahyoun Handelsregister: AG Düsseldorf, HRB 53837 UST.-ID: DE248275827 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org