Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2007

Tip: Looking for answers? Try searching our database.

Cannot submit form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon - 16 Dec 2005 14:18 GMT
I've created a form which users can fill in from a sharepoint form library,
and it will submit the completed form to this library, but only for the first
form submitted.

If you try and fill in a second form, you get the following error.

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.

Can someone please tell me how to specify the file name? It seems to call
every form 'Form' which is obviously not what I want.
thanks,
Simon
Ben walters - 19 Dec 2005 00:25 GMT
hey Simon,
When you are creating the dataconnection to submit the form to the
sharepoint library, you need to specify an autogenerated name.
On the second step of the wizard when you specify the url for the sharepoint
library there is a second text box called filename, you can put an xpath
expression in here that uses some of the fields in the form to create an
unique name. Probably the easiest way to do this is to use the concat
function to concatinate multiple fields together
e.g. concat(<field1>, <field2>, <field3>)
your other option is that you can tick the box that says "Allow overwrite if
file exists" but if you did this and didn't specify a unique name you only
ever get one form in the library and each time a user submitted that form
would be updated.

Hope this helps
Cheers
Ben

> I've created a form which users can fill in from a sharepoint form library,
> and it will submit the completed form to this library, but only for the first
[quoted text clipped - 12 lines]
> thanks,
> Simon
Simon - 19 Dec 2005 09:29 GMT
Thanks Ben,

that's exactly what I wanted!

Simon

> hey Simon,
> When you are creating the dataconnection to submit the form to the
[quoted text clipped - 30 lines]
> > thanks,
> > Simon
Dj - 27 Nov 2007 21:59 GMT
I am replying to this old messaged I found from 2005 because it describes the
problem that I am experiencing.  The only difference is that I DID enter an
xpath expression from the from inside the form that should be unique
(employee code)each time yet I'm still getting the "A value inside the
form..." error.  Can anyone tell me why my submit is not working when I have
a valid expression in the file name field.  Thanks!  Dj

> hey Simon,
> When you are creating the dataconnection to submit the form to the
[quoted text clipped - 30 lines]
> > thanks,
> > Simon
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.