notContains in Deluge

notContains in Deluge

Hello,

I need some help with Deluge scripting using notContains function.

My form has a checkbox_field with 3 options and a record_status field.

I am trying to test for all 3 options being checked before allowing the status field to be updated using On edit>On validate workflow. 

The design is for script to:

if (all 3 Checkbox_field options are NOT checked)
{
alert "You cannot update record Status until all three checkboxes are marked.";
cancel submit;
}

I have tried a few different script versions and I keep getting errors, e.g., the number of arguments does not match the expected, the text string does not match the stringlist data, improper statement, etc.

Can someone share the correct script to pass three arguments in a notContains function, embeded in If Statement that will avoid error messages? I can't find similar examples searching the forum or Zoho User Guide.

Thank you!
Ricardo