SetFormFieldValue not working correctly
SetFormFieldValue not working correctly
Hi,
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.
Best,
acl
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.
Best,
acl
- Attachments
-
- Original - filled with GdPicturePDF SetFormFieldValue.zip
- PDF: Form filled using SetFormFieldValue
- (56 KiB) Downloaded 314 times
Re: SetFormFieldValue not working correctly
Hi Acl
The SetFormFiledValue function has been fixed some times ago and work as expected in the last version (actually 12.0.0.33)
the SetFormFieldChecked function must be prefered to setup check boxes
see : https://www.gdpicture.com/guides/gdpicture/web ... ecked.html
Hope this help
Jean-Luc
The SetFormFiledValue function has been fixed some times ago and work as expected in the last version (actually 12.0.0.33)
the SetFormFieldChecked function must be prefered to setup check boxes
see : https://www.gdpicture.com/guides/gdpicture/web ... ecked.html
Hope this help
Jean-Luc
Re: SetFormFieldValue not working correctly
Ok, we're using GdPicture 9..
Re: SetFormFieldValue not working correctly
hi Acl
This version is no longer maintened.
Bests regards.
Jean-Luc
This version is no longer maintened.
Bests regards.
Jean-Luc
-
- Posts: 2
- Joined: Mon May 29, 2017 9:54 am
Re: SetFormFieldValue not working correctly
I have a similar problem.
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?
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?
Re: SetFormFieldValue not working correctly
Hi gkobelkoff
I am afraid no. This kind of formfields use postscript to compute, GdPicture do not have a postscript interpretor.
Hope this help
Jean-Luc
I am afraid no. This kind of formfields use postscript to compute, GdPicture do not have a postscript interpretor.
Hope this help
Jean-Luc
-
- Posts: 2
- Joined: Mon May 29, 2017 9:54 am
Re: SetFormFieldValue not working correctly
in the pdf there are two identically named checkboxes. when we query the value of those checkboxes they return the value that is associated in the form.
but when we try to set the value nothing happens.
what could be the reason for that?
(We are using GdPicture 14)
but when we try to set the value nothing happens.
what could be the reason for that?
(We are using GdPicture 14)
Re: SetFormFieldValue not working correctly
Hi,
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.
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.
Re: SetFormFieldValue not working correctly
Hi,
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:
https://www.gdpicture.com/download-gdpicture/
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:
https://www.gdpicture.com/download-gdpicture/
Who is online
Users browsing this forum: No registered users and 2 guests