user3642210 user3642210 - 1 year ago 98
Javascript Question

Type name in form element, creates signature

I am looking for a way so that when a user types their name within a form field input box, a digital signature is created, or some type of box that shows the name written.

Is something like this possible?

The form itself does not need to submit the signature, it is purely for show on the form page itself.


Answer Source

You can listen for changes on your input and on each trigger, copy it's value to the place you want. That's what you want to achieve, right?

// Listen for input change
   //copy it's content somewhere else