Suggestion: Add the signature field option to the pdf generator

I love the new signature field that is available in forms and grids! It would be great to be able to select this same field type in the pdf generator that is in Scriptcase for printing the customized forms that required the signatures on them :slight_smile:

For example, I built a complex inspection form in Scripcase. This form is based off of a paper form my client is required to use. The end user can now have the inspector and the manager sign the form digitally when the inspection has been completed thanks to the new field. The inspector is then required to print or e-mail a copy of the signed form to the business. The on-screen form that is filled out looks similar to the paper form that is required to be given however it’s not an exact match so I can’t just print the on screen form. It is impossible to use the grid application to build this form, even using an html template, it’s very large and complex. I was able to build the exact form in pdf, however there is no signature field option to be able to display the signatures. So we’re back to just printing the form and having them sign the paper copy.

in event: on record: just declare the address of the image:
$ image_file = ‘…/_lib/img/sign.jpg’;
in the pdf code: then you declare:
$ Pdf-> Picture ($ image_file, '25 ‘,’ 13 ‘,’ 35 ‘,’ 35 ‘,’ ‘,’ ‘,’ ‘,’ true ');
the numbers after $ image_file are the coordinates and the size of the image, you position it correctly and you have your document signed!

Sorry I’m missing something here. When I do a test signature in a form, the data is saved in the table as:

“data:image/jsignature;base30,4EZ1422341_3R47349g5_3H36744a87l_4DZ34933945b_4X35Z2520Y2453393430Z1655_4JZ2540Y35310Z224315Y54411_6U0Z3103_3v5e7a4_5T22554476cb6_3UZ33102111320”

How would we automatically convert that to a jpeg file, or some sort of image file to place it in a pdf?

Done! make a blank application, witch output a PDF image…

https://forum.scriptcase.net/forum/main-category/main-forum/84231-signature-field-to-png

Give it a try!