Nintex in SPO
Very simple validation rule needed. I have an "Attachments?" question. If the User selects "Yes," I want an attachment to be required.
A simple Validation rule on the Attachment control like this should work, right?
Is there seriously no way to accomplish this without using JS?
@anderj39 .....I'm not sure if File Upload have the option of Minimum Attachments in Validation or not?
In on-prem attachment control do have the option to provide minimum attachments and maybe using run time formula we can set the value to be either 0 or 1 based on AttachmentDD value.
But if that's not the option then instead of using your formula try to use If statement in validation rule of attachment control
If(equals(AttachmentsDD, "Yes"), If(isNullOrEmpty(ItemProperty:Attachments), "Please attach files", false), false)