What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Accessing E-Signature Image from PHPAsked by webnetsupport on January 28, 2016 at 11:19 PM
I would like to know if it is possible to access the e-signature image through php.
I am getting the base64 in $_POST['signature'] but when I deocde and save to a file it doesn't work. Is there any easy way to get the e-signature image from php once the user submit the form?
The name for getting the data from the "E-Signature" widget is "signature", you have entered correct value. Please, see it from the below:
However, the requesting PHP could be wrong. Please, check the following guide, it gives all of the information about getting post data from your form with PHP:
For further assistance, please do let us know.
Hi Thank you. This is now solved.
I have another issue, is it possible to populate the e-signature field from url parameters? (e.g. to pass a signature image in URL and populate the field upon loading).
I am not quite sure if that is possible. You can pass text string and number values and prepopulate, however, passing a signature image via URL parameters on another signature widget? Not that I can think of. You can pass the download link of the signature image and pass it on another PHP code and save it on your database.
You won't be able to prepopulate a signature widget because the user needs to actually sign it. I hope that helps.