I am new to Infopath, so this question may seem trivial.
I am using InfoPath to design my SharePoint 2010 forms.
I have an attachment field that I would like to make mandatory and the suggested to do this is to add a Form Submit rule and check for the count of attachments added, if this is equal to zero then do not close the form and message prompt the user.
When I go into submit options and select Perform custom action using rules, InfoPath does as I say and checks if there are any attachments and if there are none it displays a message to screen. However because at the end of the Submit Options it says After Submit Close the form, the form is always closing whether the rules have been met or not.
I need a way to close a form if the submit was successful, but keep it open if it failed.
I cant see a way to do this yet no one else on I can find is complaining of the same issue, and I dont want to spend anymore hours on the subject!!
Many Thanks