You are viewing limited content. For full access, please sign in.

Question

Question

Trapping OnChange Event for Signatures

asked on October 8, 2019

Hey all,

Is there a way using JQuery to trap the OnChange event for a signature form field?  In other words, when the signature is filled by the user, trap the event.

1 0

Answer

SELECTED ANSWER
replied on October 8, 2019
$(".signSignatureBtn").click(function() {
	console.log( "I submitted a signature!" );
});

That should get you started :).

1 0
replied on October 10, 2019

Many thanks Lindsay.

1 0

Replies

replied on October 10, 2019

Okay, one more question.  I've got a handler for the "form-sig-remove" event, however, again, I've got multiple signatures, each with it's own unique class name.  How do I reference the "form-sig-remove" for just 1 signature field:

$(document).on('click', '.form-sig-remove',function(){
     $("." + sigFieldClassName + "Date input").val("");  
});
 

With just ".form-sig-remove'  all signature fields fire this event.

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.