Infopath 2007 Form ID generation

A

andyoye

How can I generate sequence number for my forms which are on a sharepoint
list? plus how can I set a pre defined format.. say yyyy-mm-dd-xxxx
(xxx=sequence number)

so whenever I fill up the form, it saves like yyyy-mm-dd-0001, than next
will be yyyy-mm-dd-0002......

thanks
 
A

andyoye

how about setting Form ID = system or current date/time, for every new form
created?
 
K

K.Ramana Reddy(GGK Tech)

Hi,

Set the form ID Concating the date/time with sequence number( or date/time
'+' sequence number) in Onload event.
it will give new form ID whenever you open the new form

I hope this will help for you.
 
K

K.Ramana Reddy(GGK Tech)

Hi,

are you using code or rules to submit the form to share point?
 
A

andyoye

Rules, as I am not that great with code. Can you provide an example how to
achieve this?
thanks
 
A

andyoye

Whenever I click to save a newly filled form, it should Save itself with
current date/time as its Name on my sharepoint site
 
K

K.Ramana Reddy(GGK Tech)

Hi,

When you are taking data connection to submit the form to share point using
rules , you will get the some Wizard to enter the Document library name and
Name of the file name.
In the file name field enter the function now() then take the data
connection and publish the form.

now every form will save as the current date and time.
 
A

andyoye

Thanks much, one last question,

How can I concat two fields?

If I want the file name to be .. field1 + now()
 
Top