(NWF.FormFiller.Attachments.GetAttachedFilesCount(NWF.FormFiller.Functions.GetFillerDivObjectForControl(NWF$("#"+NWF$("." + attCtrlClassName + " .nf-attachmentsRow").id)).data('controlid'))) <1
To make it return true or false if no attachment is added.
and the rule seems to be fine
However after I submit the form, no error message is displayed and the forms submits perfectly. I've tried changing the function several times and validating using nintex runtime functions, basically everything, nothing seems to work.
In the console it is displayed the error message
Twice, it still submits the form and no validation is done.
Similar happens with the attachment control settings, just like in the image.
No validation is done at all.
¿Is there a possible way to do it?