asked on October 7, 2016
I am having a problem with the signature fields. I am using pagination and I used some code that I found here that will prevent users from moving to the next page until they fill out all of the required fields. However it does not work for the signature fields. This is the code I am using that does not work for signature fields.
$('#form1 input, #form1 textarea, #form1 select').filter(':visible').each(function() {
if(!$(this).checkValidity()) { valid = false; }
});
if(!valid) {
return;
}
Has anyone figured out how to prevent the user from moving to the next page when the signature field is not completed?