we are using SetFormFieldValue to fill in PDF forms automatically (these are social security forms here in Luxemburg).
This works fine for normal text-fields, but some fields don't work. For example this is waht the field looks like if filled using Adobe Reader:
This is what it looks like filled using SetFormFieldValue (value: "123456789012345").
As you can see, the numbers are not filled into the reserved spaces.
I also attached the whole PDF (the one filled using GdPicture SetFormFieldValue).
A second problem is checkboxes inside the form. We used GetFormFieldValue to extract the values of these on a filled out form and then tried to set them on a new form using SetFormFieldValue. No success there either. If you look at the attached PDF in the bottom, there should be one checkbox checked, but none of them are.
Any help would be greatly appreciated.
- Original - filled with GdPicturePDF SetFormFieldValue.zip
- PDF: Form filled using SetFormFieldValue
- (56 KiB) Downloaded 55 times
The SetFormFiledValue function has been fixed some times ago and work as expected in the last version (actually 126.96.36.199)
the SetFormFieldChecked function must be prefered to setup check boxes
see : http://guides.gdpicture.com/content/web ... ecked.html
Hope this help
In the required pdf-taxforms we have to use, there are some calculations and some formatting done after filling in certain fields.
When I use SetFormFieldValue to set those fields, the formatting (or calculation) doesn´t work. Is there a workaround?
but when we try to set the value nothing happens.
what could be the reason for that?
(We are using GdPicture 14)
the request for improvements related to form fields is on our roadmap, we are aware of some issues. But I can't guarantee you any time frame here.
If you have any specific question, please create a ticket on our support platform.
In recent releases, we have improved functionality related to form fields, specifically checkboxes and radio buttons related methods. Please try our latest release, you can download it here:
Who is online
Users browsing this forum: Bing [Bot] and 1 guest