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.
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.
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?
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?
IT Business Unit Liaison
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.
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.