Automatically save form when data is submitted

C

chris.boothroyd

Is there a way to configure a form so that it is automatically saved whenever
the user submits the form? I guess it would be possible with some custom code
for submit actions. Anybody have some sample code?

BTW, I have a form that will reside in a Sharepoint list, but also writes to
a database. I don't want people to be able submit the form without also
saving it -- otherwise the list and the database could end up out-of-sync.

Many Thanks,

Chris
 
A

Alexey Smirnov

Is there a way to configure a form so that it is automatically saved whenever
the user submits the form? I guess it would be possible with some custom code
for submit actions. Anybody have some sample code?

BTW, I have a form that will reside in a Sharepoint list, but also writes to
a database. I don't want people to be able submit the form without also
saving it -- otherwise the list and the database could end up out-of-sync.

Hi Chris,

you can create a Data Connection and set a rule to the Submit button
with the "Submit using a data connection" action. Then form will be
saved automatically when user clicked the Submit.

More info: http://office.microsoft.com/en-us/infopath/HP011002721033.aspx

Hope this helps
 

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