File name?

S

Simon

I get the message below when I try and submit more than one form to the form
library. The first submitted ok, but then I get the error:

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.

How do I fix this?
 
S

Simon

Hi Greg,

I've just called it 'Form', I assumed that the forms would then be saved in
the form library repository as Form1, Form2, etc etc..Do I need to change the
name to something else for multiple copies of the form to be saved?
thanks,
Simon
 
C

Caeanis

Hi Greg,

My question is slightly different. In the original post part of the message
Simon gets is "A value in the form may be used to specify the file name. "

Does that mean that there is a way to make the default filename to whatever
the value of a particular field is? (Which is what I'd like to do.) Or does
is this simply a suggestion for what to name the file? I would like to if
it is possible to programmatically set the name of the form by clicking a
button or after fill in a particular field....

Can this be done?
 
G

Greg Collins [InfoPath MVP]

If you are "submitting" your form, and not just "saving" it, you can specify, as part of the submit, a field value to be used as the filename.

--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com


Hi Greg,

My question is slightly different. In the original post part of the message
Simon gets is "A value in the form may be used to specify the file name. "

Does that mean that there is a way to make the default filename to whatever
the value of a particular field is? (Which is what I'd like to do.) Or does
is this simply a suggestion for what to name the file? I would like to if
it is possible to programmatically set the name of the form by clicking a
button or after fill in a particular field....

Can this be done?
 
N

nikkik

Hi Greg,

I have a similar problem. I have a field in my form which is the file name.
I am choosing a unique file name each time. It submits fine by email but
when the mail send window closes, I get the error message below meaning it is
not posting to the share site. Can you help?

Thanks

Greg Collins said:
Yes, it saves as whatever you name it as. So if you are naming it "Form" each time, then you are overwriting (if allowed) the previous "Form". You need to give more detail to the filename to prevent duplicate filenames.

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



Hi Greg,

I've just called it 'Form', I assumed that the forms would then be saved in
the form library repository as Form1, Form2, etc etc..Do I need to change the
name to something else for multiple copies of the form to be saved?
thanks,
Simon

Greg Collins said:
What filenames are you saving your forms as? Sounds like you are trying to use the same filename more than once.

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



I get the message below when I try and submit more than one form to the form
library. The first submitted ok, but then I get the error:

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.

How do I fix this?
 
G

Greg Collins [InfoPath MVP]

You have not provided enough information to evaluation your situation--other than it sounds like your sharepoint submit code needs to be debugged. Or perhaps you do not have the permissions to save to SP that you think you do.

--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com


Hi Greg,

I have a similar problem. I have a field in my form which is the file name.
I am choosing a unique file name each time. It submits fine by email but
when the mail send window closes, I get the error message below meaning it is
not posting to the share site. Can you help?

Thanks

Greg Collins said:
Yes, it saves as whatever you name it as. So if you are naming it "Form" each time, then you are overwriting (if allowed) the previous "Form". You need to give more detail to the filename to prevent duplicate filenames.

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



Hi Greg,

I've just called it 'Form', I assumed that the forms would then be saved in
the form library repository as Form1, Form2, etc etc..Do I need to change the
name to something else for multiple copies of the form to be saved?
thanks,
Simon

Greg Collins said:
What filenames are you saving your forms as? Sounds like you are trying to use the same filename more than once.

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



I get the message below when I try and submit more than one form to the form
library. The first submitted ok, but then I get the error:

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.

How do I fix this?
 
Top