<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: submit/save button</title><link>https://www.infopathdev.com:443/forums/thread/19702.aspx</link><pubDate>Wed, 09 May 2007 15:14:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19702</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19702.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19702</wfw:commentRss><description>&lt;p&gt;As long as you have overwrite allowed, if a user opens an existing form from a form library, modifies it and resubmits the form,&amp;nbsp;the library is updated and overwrites the previous version.&amp;nbsp; You can turn on versioning on the library to have access to previous ones if this is needed.&lt;/p&gt;&lt;p&gt;That was what confused me before because I&amp;nbsp;thought you were describing standard functionality.&amp;nbsp; Submit to SharePoint is just saving the form into the Form Library whether initially or as an update.&amp;nbsp; Allowing Overwrite would be the only thing that could limit this process.&lt;/p&gt;</description></item><item><title>Re: submit/save button</title><link>https://www.infopathdev.com:443/forums/thread/19701.aspx</link><pubDate>Wed, 09 May 2007 15:04:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19701</guid><dc:creator>homeguards</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19701.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19701</wfw:commentRss><description>i am trying to turn the submit button into a save button once the user has submitted the form to the form libaray.&amp;nbsp; That way when someone opens the form again they just have to hit the save button to save the changes.</description></item><item><title>Re: submit/save button</title><link>https://www.infopathdev.com:443/forums/thread/19682.aspx</link><pubDate>Wed, 09 May 2007 04:34:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19682</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19682.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19682</wfw:commentRss><description>&lt;p&gt;This can be a bit complex until you have done it a couple times.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/agni/archive/2006/06/28/Get-Name-of-Person-Logged-Into-SharePoint.aspx"&gt;http://www.infopathdev.com/blogs/agni/archive/2006/06/28/Get-Name-of-Person-Logged-Into-SharePoint.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Here is one link that can get you down the path.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Ultimately you can create a dataconnection to the form library and query all of the documents in it.&amp;nbsp; Then you can identify the form you wish to overwrite and change the name of the current form to match and therefore overwrite. You can have a rule on open that performs this function.&lt;/p&gt;&lt;p&gt;I am a bit confused by the submit and save.&amp;nbsp; When you submit to SharePoint you are saving the form into the library.&amp;nbsp; Do you mean to save it somewhere else? Or do you mean to lock the form from editing at some point? Either of these is simple to do.&lt;/p&gt;&lt;p&gt;Hope this gets you started.&amp;nbsp; I could&amp;nbsp;make a blog post on this but I think most of it has been covered before.&lt;/p&gt;</description></item><item><title>submit/save button</title><link>https://www.infopathdev.com:443/forums/thread/19681.aspx</link><pubDate>Tue, 08 May 2007 21:07:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19681</guid><dc:creator>homeguards</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19681.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19681</wfw:commentRss><description>&lt;p&gt;So I have a form that submits to a sharepoint library.&amp;nbsp; This form has more then one person edit/looks at it and i want the submit button to turn into a save button once it is submitted.&lt;/p&gt;&lt;p&gt;&amp;nbsp;so theres a couple of ways to do this, i see:&lt;/p&gt;&lt;p&gt;1. figure out what the form name is and create an overwrite data connection to overwrite the old form.&lt;/p&gt;&lt;p&gt;2. somehow code the botton to submit and then save?&lt;/p&gt;&lt;p&gt;&amp;nbsp;I think the first one is probably the easiest, does anyone know how to figure out the name of a form in the onload event?&lt;/p&gt;&lt;p&gt;&amp;nbsp;also, when a user submits the form it is tied to the now() function so its kinda unknown what the submit name is going to be.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>