first thought

This commit is contained in:
akemidx 2024-07-30 19:27:37 -04:00
parent 3a2611f8e1
commit fccfce2ae8

View file

@ -134,12 +134,14 @@
});
$('#submit-button').on("click", function (event) {
if(signaturePad != null) {
if (signaturePad.isEmpty()) {
alert("Please provide signature first.");
return false;
} else {
$('#signature_output').val(signaturePad.toDataURL());
}
}
});