I have written a few rules for this panel---and basically it
HIDES when classes that do not require the attachment are NOT selected.
I would like for the attachment to be REQUIRED when the class
that requires the attachment is selected.
Here is my form and a few things that I have tried:
With these current settings—the form is still allowed to
save even if no attachment is given.
I would like an error message to stop users from registering
without an attachment.
Can you please help with this?
Add a validation rule to your attachment field. Depending on what and how many classes need an attachment will change your formula.
Parker,
Thanks so much for your response.
I am new to Nintex and get turned around when writing rules.
Here is what I have and its not working. The control used to validate the rule is a "List Lookup"
Will you take a look at my validation rule and tell me what I am doing wrong?
They get me too. I'm sure there are many ways to achieve this but this should work. If(contains(Class, 'Beginner Agvance Training (2 Day Class)'), 0, 1)
Parker,
Thanks so much for your help, but this does not work for me either.
In every other instance that I have referred to this control I had to use a parseLookup.
It seems that this validation rule would use the parseLookup since the information is being pulled from a list look-up field
Check your formula: If(contains(MyFormClassName, 'Beginner Agvance Training (2 Day Class)'), 0, 1)
Missing '(' after contains
I am still able to save without the attachment.
I think I have the formula right this time: