Forum Discussion

laristularistu's avatar
laristularistu
Community Member
2 years ago

Draw Signature

I need to create a slide where the person doing the training ends up signing it off. Does anyone know a javascript code to put in the object?

Thank you

 

  • Hi laristu,

    I've done something like this by adding a webobject on which the user can draw (sign):
    https://stackoverflow.com/questions/2368784/draw-on-html5-canvas-using-a-mouse

    In addition you could then add some JS that prints the whole slide

      window.print();

    You would end up with a PDF that the user could email to someone, if that is what you are thinking about.

    If signing a document should trigger course completion, you could manipulate the trigger when the user clicks on the webobject. But you won't be able to track, if it really is a signature that was painted there or not. And you will only able to access and actually see the signature, if you log in to your LMS with the user's ID.

    To be honest, I would consider just adding a "herby I confirm ..."-button. If a user is logged in to your LMS that should be proof enough. If it is some legal issue that might not be enough though.