Form application - Signature field validation is not working

Hi I have a form application with a few fields. I placed them into 4 pages. The last page has the signature field and I marked the field as required, however, it allows me to submit the form without signing. Any workaround to get the validation working so users cannot submit without putting their signature?

Go into EDIT FIELDS and check REQUIRED on your sig field.

yup, that’s the issue, the required checkbox is checked but it doesn’t work

I think you can test in ONVALIDATE EVENT

if (strlen({your_fieldsign}) < 32) {
sc_error_message (“error, you must sign”);
}

thank you for the suggestion, @alvagar
I managed to do the validation for the signature field using:

if (sc_get_wizard_step() == '' && {SIGNATURE} == 'data:image/jsignature;base30,')
{
  sc_error_message("Sign it!");
}

the sc_get_wizard_step is used to determined that it was the last page of the form, my form has multiple pages.