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

How to make an attachment REQUIRED?

See the image circled in blue below.

How do I make it REQUIRED to attach the requested document when saving?

If a user tries to save without the attachment, it will trigger an error message requesting the attachment.

Nintex Question2.JPG

Labels: (1)
Tags (1)
Reply
9 Replies
janvonreith
Nintex Newbie

Re: How to make an attachment REQUIRED?

Hey Inger,

you can configure it in the settings of the attachment Control:

This is the result of my configuration:

Best regards,

Jan

Reply
ispike
Nintex Newbie

Re: How to make an attachment REQUIRED?

My settings are set this way and its not working for me.

Please help.Nintex Attachment Control Settings.JPG

Reply
mapeacock
Nintex Newbie

Re: How to make an attachment REQUIRED?

Hi Inger,

I experienced exactly the same thing as you in my test list, when I went to replicate the issue. I did, however, get it to work eventually by removing the attachment control from the form and saving and closing the form. I then Reopened the form and add the attachment control back in, replicated your validation settings and this then worked for me.

The one thing I did note with your settings is that you do have a "Disallowed file format error message" defined , with no Allowed file formats listed. Not sure if that had anything to do with the processing of the logic.

Certainly, the method I used above corrected the behaviour.

Regards,

Mark

Reply
ispike
Nintex Newbie

Re: How to make an attachment REQUIRED?

I am so frustrated at this point.

I tried removing the attachment field, I saved and closed the field. I gave it a few minutes and came back into the form to re-add the attachment field just as you instructed and its still not working.

I am having so many problems with things that seem SO SIMPLE.

Can someone please help?

Now, not only is my file NOT a required field upon saving----my form will save when its TOTALLY BLANK just cause I added this Confirmation Message.

How can I make the form REQUIRE an attachment, validate that all required fields are complete AND give a Thank You message?

Am I asking for too much?

Nintex Save Mssg 1.JPGNintex Save Mssg 2.JPG

0 Kudos
Reply
ispike
Nintex Newbie

Re: How to make an attachment REQUIRED?

I wish that was my “FIX”----however that did not work for me.

I have tried multiple times to remove the attachment control and add it back later and the control still doesn’t work for me.

Do you have any other suggestions?

Inger Spikner

IT Business Unit Liaison

Direct: 901-537-7347

Fax: 901-537-8594

<http://inside-helena.helena.local/>

0 Kudos
Reply
mapeacock
Nintex Newbie

Re: How to make an attachment REQUIRED?

Hi,

To ensure that the other required fields have data, have you enabled the "Require that this column contains data" in the List column settings? This will ensure that you can't enter an empty form at least! I would not complicate your form with the popup, until you can resolve the attachment issue.

Regarding the validation of the form fields, if you do not have the list columns marked as requiring data, you can set up a validation rule on the form, to ensure that the fields you need to have data, do.

Actually that has given me an idea! You could (even though you shouldnt need too) add a validation rule on the attachment control like below:

I tested this and I thought it worked, but of course it was looking for the attachment on the Item existing (Not before it is created, which we are trying to do).

I'm sorry, I don't have much else to offer other than ask if you have any custom scripting on the form that may be potentially interferring with the action.

You may need to raise a support ticket.

Cheers,

Mark

Reply
Automation Master
Automation Master

Re: How to make an attachment REQUIRED?

Reply
Automation Master
Automation Master

Re: How to make an attachment REQUIRED?

Did you find a resolution ‌?

0 Kudos
Reply
shaunlub
Nintex Newbie

Re: How to make an attachment REQUIRED?

Hi,

When you are re-adding, are you re-adding from the SharePoint list columns on offer?

If so, I would recommend rather that you add a plain attachment control from the control selection, and add that to the form; then point that to your SharePoint attachments column. Whenever I've found controls acting unpredictably, this has (most times) been the way to fix it.

0 Kudos
Reply