Forums

Snapshot of my form upon completion

DrSmith69 26 Oct, 2017
Good Day,

I am trying to figure out the best way to take a snapshot of my form upon completion and store it on my server.

Once the user submits the form I need the system to take a screenshot solely of my form and store it as an image file on my server.

Please let me know what the best way to do this is?
GreyHead 26 Oct, 2017
Hi DrSmith69,

The form no longer 'exists' after it is submitted so technically this is difficult to understand. There are scripts like html2canvas that say that they can capture a quasi-screenshot. That might do what you want.

Bob
DrSmith69 27 Oct, 2017
Hi Bob,

Ok great, what I have done is pushed the data into my DB then I can trigger a PDF doc from the fields in my DB - so that will do the trick.

My only issue I am having is the signature field, I need to almost create a picture of the image field to store this in my DB aswell in order for me to call upon the image when creating the pdf - do you know of any methods on how to create an image from the signature widget?
DrSmith69 27 Oct, 2017
Hi Bob,

I just came across the TCPDF plugin which will do exactly what I need it to do, just got to get it working.

Basically, I have added it to my final step in my form, (I am using Chronoforms V6)

However When I complete my form my form just hangs now, just keeps circling and when I open the PDF that I downloaded it gives me the following error:
DrSmith69 27 Oct, 2017
Hi Bob,

Me again, sorry I have managed to get it working to store on the server.

I am just going to play around and try display all the fields including the signature field - If i get stuck i will comment on this thread.

Thanks Again
This topic is locked and no more replies can be posted.