cancel
Showing results for
Did you mean:
Highlighted
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.

Labels: (4)

Tags (1)
20 Replies
Highlighted
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.

Highlighted
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"

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

Highlighted
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"

Nintex Newbie

Highlighted
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)

Highlighted
Nintex Newbie

Highlighted
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 field

Highlighted
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

Highlighted
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: