- Posts: 962
- Thank you received: 87
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
PDF forms and check boxes
IP: 212.97.62.176
6 years 9 months ago #14789
by nermeen
Replied by nermeen on topic PDF forms and check boxes
Dear Michele,
We've checked this behavior on Acrobat and many other readers and they all behave the same.
Yes, we've implemented it according to PDF reference (version 1.7, chapter 8, section 8.6.3 (Check Boxes))Can you confirm this new behaviour is correct and adhering to PDF form specifications?
We've checked this behavior on Acrobat and many other readers and they all behave the same.
IP: 89.96.204.112
6 years 9 months ago #14792
by noberasco
Replied by noberasco on topic PDF forms and check boxes
Hi nermeen,
thank you for this feedback.
This actually simplifies matters, as a single check box field can now hold a single value.
I will have to make some adjustments to my templates, but I'm fine with this.
There is still a bug, though: ExportForm() does not behave correctly with the new check box value handling.
If you change check box values, ExportForm() returns the correct values.
However, if you open the document without changing check box values, ExportForm() returns false for all check box values.
Note: radio buttons are not affected by this, only check boxes.
While I am it it, ExportForm() has several other issues...
Maybe I should open a separate threads for them?
Regards,
Michele
thank you for this feedback.
This actually simplifies matters, as a single check box field can now hold a single value.
I will have to make some adjustments to my templates, but I'm fine with this.
There is still a bug, though: ExportForm() does not behave correctly with the new check box value handling.
If you change check box values, ExportForm() returns the correct values.
However, if you open the document without changing check box values, ExportForm() returns false for all check box values.
Note: radio buttons are not affected by this, only check boxes.
While I am it it, ExportForm() has several other issues...
Maybe I should open a separate threads for them?
Regards,
Michele
IP: 111.196.244.148
6 years 9 months ago - 6 years 9 months ago #14794
by radaee
Replied by radaee on topic PDF forms and check boxes
this version also adjust the export value, following shows the export value:
which "Check Box1" is not checked and "Check Box2" is checked.
"Check Box1" and "Check Box2" only has single value for whole group.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<fields>
<Check Box1>Off</Check Box1>
<EST-MESE-1></EST-MESE-1>
<EST-MESE-2></EST-MESE-2>
<EST-ANNO-1></EST-ANNO-1>
<EST-ANNO-2></EST-ANNO-2>
<OXY-MESE-1></OXY-MESE-1>
<OXY-ANNO-1></OXY-ANNO-1>
<OXY-MESE-2></OXY-MESE-2>
<OXY-ANNO-2></OXY-ANNO-2>
<OXY-MESE-3></OXY-MESE-3>
<OXY-ANNO-3></OXY-ANNO-3>
<OXY-MESE-4></OXY-MESE-4>
<OXY-ANNO-4></OXY-ANNO-4>
<Check Box2>Yes</Check Box2>
<SOC-MESE-1></SOC-MESE-1>
<SOC-ANNO-1></SOC-ANNO-1>
<SOC-MESE-2></SOC-MESE-2>
<SOC-ANNO-2></SOC-ANNO-2>
<id-loco></id-loco>
<km-LOCO></km-LOCO>
<id-loco-1></id-loco-1>
<id-loco-2></id-loco-2>
<guasto-1></guasto-1>
<guasto-2></guasto-2>
<guasto-3></guasto-3>
<guasto-4></guasto-4>
<guasto-5></guasto-5>
<guasto-6></guasto-6>
<guasto-7></guasto-7>
<guasto-8></guasto-8>
<Data></Data>
<Ora></Ora>
<commento1></commento1>
<commento2></commento2>
<commento3></commento3>
<binario></binario>
<varie></varie>
<data_HU></data_HU>
</fields>
"Check Box1" and "Check Box2" only has single value for whole group.
Last edit: 6 years 9 months ago by radaee.
IP: 89.96.204.112
6 years 9 months ago #14795
by noberasco
Indeed it does... until you close and reopen the PDF document.
If you close and reopen the document and call ExportForm() without otherwise interacting with the document, 'Off' will be returned for all checkbox fields.
Replied by noberasco on topic PDF forms and check boxes
radaee wrote: this version also adjust the export value
Indeed it does... until you close and reopen the PDF document.
If you close and reopen the document and call ExportForm() without otherwise interacting with the document, 'Off' will be returned for all checkbox fields.
IP: 111.196.244.148
6 years 9 months ago #14796
by radaee
Replied by radaee on topic PDF forms and check boxes
thanks, we shall check it and fix it.
IP: 111.196.244.148
6 years 9 months ago #14797
by radaee
Replied by radaee on topic PDF forms and check boxes
fixed, plz wait...
Time to create page: 0.400 seconds