I have a page where I capture signature.
I need to validate that the user has signed signature on the signature pad(separate js presents this pad)
Call before insert is probably not the best place.
On regular html
will call the script onclick function
When the user clicks save, I need to call this script:
if( $('#signature').jSignature('getData', 'native').length == 0) {
alert('Please Enter Signature..');
return false;
}
Any help will be appreciated. I don want to proceed without grocery crud