SetFormFieldValue not working correctly

Discussions about PDF management.
Post Reply
acl
Posts: 19
Joined: Wed Oct 03, 2012 7:52 am

SetFormFieldValue not working correctly

Post by acl » Wed Sep 07, 2016 8:58 am

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:
Good.JPG
Screen capture: Form filled through Adobe Reader, looks correctly
This is what it looks like filled using SetFormFieldValue (value: "123456789012345").
bad.JPG
Screen capture: Form filled using SetFormFieldValue
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 50 times

delbeke
Posts: 91
Joined: Wed Oct 31, 2012 5:07 pm

Re: SetFormFieldValue not working correctly

Post by delbeke » Wed Sep 07, 2016 10:47 am

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 : http://guides.gdpicture.com/content/web ... ecked.html

Hope this help

Jean-Luc

acl
Posts: 19
Joined: Wed Oct 03, 2012 7:52 am

Re: SetFormFieldValue not working correctly

Post by acl » Wed Sep 07, 2016 11:51 am

Ok, we're using GdPicture 9..

delbeke
Posts: 91
Joined: Wed Oct 31, 2012 5:07 pm

Re: SetFormFieldValue not working correctly

Post by delbeke » Wed Sep 07, 2016 6:24 pm

hi Acl

This version is no longer maintened.

Bests regards.

Jean-Luc

gkobelkoff
Posts: 2
Joined: Mon May 29, 2017 9:54 am

Re: SetFormFieldValue not working correctly

Post by gkobelkoff » Mon May 29, 2017 10:02 am

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?

delbeke
Posts: 91
Joined: Wed Oct 31, 2012 5:07 pm

Re: SetFormFieldValue not working correctly

Post by delbeke » Tue May 30, 2017 8:50 am

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

gkobelkoff
Posts: 2
Joined: Mon May 29, 2017 9:54 am

Re: SetFormFieldValue not working correctly

Post by gkobelkoff » Mon Jan 15, 2018 3:09 pm

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)

Gabriela
Posts: 41
Joined: Wed Nov 22, 2017 9:52 am

Re: SetFormFieldValue not working correctly

Post by Gabriela » Wed Mar 21, 2018 9:02 am

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.
Kind regards,

Gabriela
GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest