cancel
Showing results for 
Search instead for 
Did you mean: 
ispike
Nintex Newbie

How can I make an attachment REQUIRED upon save

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?

Attachment Question.JPG

Panel Question.JPG

Tags (1)
Reply
20 Replies
pwp08a
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

Add a validation rule to your attachment field.  Depending on what and how many classes need an attachment will change your formula.

Reply
ispike
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

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"Attachment Validation Question 1.JPGAttachment Validation Question 2.JPGAttachment Validation Question 3.JPG

Will you take a look at my validation rule and tell me what I am doing wrong?

0 Kudos
Reply
ispike
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

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"Attachment Validation Question 1.JPG

0 Kudos
Reply
ispike
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

Attachment Validation Question 3.JPG

0 Kudos
Reply
pwp08a
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

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)

0 Kudos
Reply
ispike
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

Attachment Validation Question 2.JPG

0 Kudos
Reply
ispike
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

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 fieldAtt Validation not working 1.JPG

0 Kudos
Reply
pwp08a
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

Check your formula:  If(contains(MyFormClassName, 'Beginner Agvance Training (2 Day Class)'), 0, 1)

Missing '(' after contains

Reply
ispike
Nintex Newbie

Re: How can I make an attachment REQUIRED upon save

I am still able to save without the attachment.

I think I have the formula right this time:

Att Val Question 4.JPG

0 Kudos
Reply