Submitting Infopath form to Sharepoint, name changes after modifie

P

pipthesqueak

Hi,

I'm working with MOSS 2007 and an Infopath form saved as compatible with
2003. When sumbitted, the data connection is to a sharepoint library and I
have the option selection to save the form as the name field (last name,
first name). The first time this is done, it saves that way. When someone
modifies the form and hits submit, a new form is created and saved as last
name_first name. I have allow overwrite if file exists selected. Can
someone help me figure out how to make this work? I will have both IP 2003
and IP 2007 users accessing the form from Sharepoint and I need a solution
that will work for both.

Thank you, I appreciate the help on this.
 
P

pipthesqueak

The form is being submitted using a button on the form. The submit options
are:
-Allow users to submit this form is checked
-Send form data to a single destination is selected and it's send it to a
sharepoint document library
-The MOSS document library is the same location as where the form template
is stored.
-when a new form was opened and submitted, it was supposed to save it with
the name entered in a field on the form "employee name" where the user would
type in the following format last name, first name.
-Allow overwrite if form exists was checked off as yes

I don't know how to write code, so I haven't done anything in this form
involving custom code.

Thanks
 
S

sboyd

The form is being submitted using a button on the form.  The submit options
are:
-Allow users to submit this form is checked
-Send form data to a single destination is selected and it's send it to a
sharepoint document library
-The MOSS document library is the same location as where the form template
is stored.
-when a new form was opened and submitted, it was supposed to save it with
the name entered in a field on the form "employee name" where the user would
type in the following format last name, first name.
-Allow overwrite if form exists was checked off as yes

I don't know how to write code, so I haven't done anything in this form
involving custom code.

Thanks







- Show quoted text -


Is the filename created at the time the form is submitted (as a rule)?
 
S

sboyd

Yes, the filename is created at the time form is submitted.






- Show quoted text -

1. Create another field called Submit. Add a rule to set the filename
(your field) when the Submit field is blank
2. Then create a rule to set the value for Submit to Y when
submitted.
This should set the filename only one time since the next time the
document is modified, the Submit field will be blank.

Try that and see if you get the results you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top