Re: [iText-questions] value of selected checkbox is Off

2015-02-09 Thread mkl
TvT, Thomas, TvT wrote for checkboxes and radiobuttons iText only considers the /V (value key): String value = acroFields.getField(fieldName); You only see /OFF thus the /V attribute is probably missing in your PDF since many PDF Tools/Viewers do not set the value for

Re: [iText-questions] value of selected checkbox is Off

2015-02-09 Thread mkl
Thomas, Thomas Harre wrote But what is the difference between the /V and /AS values? Or what do they even stand for? /AS is specified for annotations in general as (Required if the appearance dictionary AP contains one or more subdictionaries; PDF 1.2) The annotation’s appearance state,

Re: [iText-questions] value of selected checkbox is Off

2015-02-09 Thread TvT
Hi, for checkboxes and radiobuttons iText only considers the /V (value key): String value = acroFields.getField(fieldName); You only see /OFF thus the /V attribute is probably missing in your PDF since many PDF Tools/Viewers do not set the value for checkboxes/radiobuttons. According to the PDF