InfoPath Submit Error- A value in the form may be used to specify the file name

This is the full error you will see in your logs at the time of submission : InfoPath cannot submit the form. An error occurred while the form was being submitted. A value in the form may be used to specify the file name. If you know the value in the form that specifies the file name, revise it and try again. Otherwise, contact the author of the form template.

There are two possible causes and solutions for this error:

1) You are trying to submit a form that has already been submitted to a document library or the form you are attempting to submit has the same name as an existing form in the library. Solution – either ensure the form is being submitted with a unique name e.g. append and date time stamp to filename specified in the Submit data connection (wizard) OR check the Allow overwrite if file exists check box, so that the form can be overwritten if it already exists in the Document Library.

2) You are submitting the form to a SharePoint list instead of a form or document library. Solution – modify the Submit data connection and ensure that the Document library field contains a URL to a Document or Form Library and not a SharePoint List.


I have been informed by an informer that it may also be due setting the form submit address to a form library view rather than just the library.

Also, another good post on this subject can be found here:


9 thoughts on “InfoPath Submit Error- A value in the form may be used to specify the file name

  1. M’lady, I have created a blog entry that gives a nice solution to the problem you have explained here. Someone clicked on a link to this post from my blog – likely from a suggested article by WordPress (it gave a great suggestion). I think it would be great for people to be able to go straight to my post from yours, so would you mind adding it as a reference inside your post? I added yours to the end of my post in case people are getting that error.

    Thanks! Clayton

  2. although I spend the vast majority of of my night on the internet playing online games like zynga poker or restaurant city, I nonetheless like to spend some spare time to browse a small amount of sites occasionally and I am grateful to report this most recent write-up is really more than a little good and notably superior than half the other poor quality trash I read today , anyhow i’m off to enjoy a couple of rounds of facebook poker

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s