I have a confirmation checkbox defined as so:
"Confirm":{"type":"boolean","required":true,"value":true,"title":"Do you accept the terms of use","minLength":1,"format":"checkbox"}
It's also added in the required array: "required": ["Example select","Confirm","Name"] but the editor.validate() never returns an error for this when the checkbox is not checked.
Is there a way to make the checkbox required?
I have a confirmation checkbox defined as so:
"Confirm":{"type":"boolean","required":true,"value":true,"title":"Do you accept the terms of use","minLength":1,"format":"checkbox"}
It's also added in the required array: "required": ["Example select","Confirm","Name"] but the editor.validate() never returns an error for this when the checkbox is not checked. Is there a way to make the checkbox required?
Thanks a lot for any suggestions