How to set Ink Sketch as compulsory field

Hi, did anyone know how to set Ink Sketch as compulsory field during submission?

1 Like

Hello @noorshahida88,

There is no way to make InkSketch control as compulsory.

But you can add form validation, so a user will not be able to submit the form if he draws nothing.
Please replace Signature0 in the code example below with the Internal Name of the control.



    name: 'InkSketchValidator',
    error: "error message",
    validate: function(value) {
        if (fd.control('Signature0').value == null)
            return false;

        return true;


Thanks @mnikitina, I will use this method for now.

1 Like