How to allow customer to sign PDF form

Forum to discuss the Web client version of Servoy.

How to allow customer to sign PDF form

Postby Westy » Tue Nov 04, 2014 4:42 pm

Using Servoy webclient we want to:

(1) email a link to a pdf form located on server to customer
(2) customer clicks link to open pdf form and sign it
(signs by drawing signature, like accepting a Fedex delivery)
(3) signed pdf form is returned to the sender

How can step 2 be accomplished?

Dean
Servoy 6.0.8
Westy
 
Posts: 833
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Re: How to allow customer to sign PDF form

Postby goldcougar » Tue Nov 04, 2014 5:44 pm

You could try and build your own electronic signature service, but that could be a lot of working depending on how fancy you need it to be. For example, if customers need to fill in dates, etc. For that, there are third-party services you can integrate with that offer the service, such as:

https://www.docusign.com/developer-center
https://www.hellosign.com/api
There are many more. They include the ability for the user to make a signature with their mouse and overlay it somewhere on the document, then they sign it with the SSL cert. So you'd have some work to integrate your app with their API.


If its just a simple electronic signature, you could do it yourself. The iText java library (which I use in the ServoyGuy PDF Pro Plugin), includes that ability, but the feature isn't in the plugin. Its essentially a 2 part process:

1. You make any modifications to the PDF as necessary so that it "visually" appears signed, like adding a JPG of a signature over the signature line, or checking a box, something like that.
2. You use an SSL cert from a keystore you create, and use the iText java library to sign the document. Thats the final step that "locks" the document, and when you open it, it will show as signed. It also verifies it hasn't been modified. So of someone tries to tamper with it, they will get an error/warning message that its not a valid document any more.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Free Training Videos
Servoy Guy- Free Plugins, Tips & Resources
ServoyForge- Open Source Servoy Components
User avatar
goldcougar
Servoy Expert
 
Posts: 657
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 1 guest