<?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>Views</title><link>https://www.infopathdev.com:443/forums/42.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Submit a form in a workflow and switch view</title><link>https://www.infopathdev.com:443/forums/thread/48359.aspx</link><pubDate>Thu, 29 Oct 2009 14:25:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48359</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48359.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=48359</wfw:commentRss><description>&lt;p&gt;That should work no problem, so you must have a logic error.&amp;nbsp; I do this frequently where I have custom buttons for submitting, and I either submit + close, or I submit + some other actions + do not close.&amp;nbsp; If it submits, it submits...no other way around it.&amp;nbsp; Doesn&amp;#39;t matter if you switch views, it should have submitted the data.&lt;/p&gt;</description></item><item><title>Re: Submit a form in a workflow and switch view</title><link>https://www.infopathdev.com:443/forums/thread/47546.aspx</link><pubDate>Fri, 02 Oct 2009 15:29:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47546</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47546.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=47546</wfw:commentRss><description>&lt;p&gt;
this.submit() can be used to submit the form using code. But let me tell you one thing saving and submitting are two different things. 
for submitting there should be no errors on the form and for saving there can be errors. saving is just creatign a WIP(work in progress) copy.
 and submit is used for complete document
But in some case where there is no or less datavalidation submit and save can be used interchangable
&lt;/p&gt;</description></item><item><title>Re: Submit a form in a workflow and switch view</title><link>https://www.infopathdev.com:443/forums/thread/47529.aspx</link><pubDate>Fri, 02 Oct 2009 12:45:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47529</guid><dc:creator>pablin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=47529</wfw:commentRss><description>Hi,
Thank you for your answer.

I&amp;#39;m using InfoPath 07 and the form is browser enabled. I open it as part of a MOSS Workflow, via the browser.

To save, I submit to SharePoint.

Thank you</description></item><item><title>Re: Submit a form in a workflow and switch view</title><link>https://www.infopathdev.com:443/forums/thread/47517.aspx</link><pubDate>Fri, 02 Oct 2009 01:47:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47517</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47517.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=47517</wfw:commentRss><description>&lt;p&gt;hi pablin, &lt;/p&gt;
&lt;p&gt;would you like to give us more info abt your forms, like &lt;/p&gt;
&lt;p&gt;are they browser enabled or not. &lt;/p&gt;
&lt;p&gt;are you working in infopath 07 or infopath 03. &lt;/p&gt;
&lt;p&gt;and how do you save the form. &lt;/p&gt;
&lt;p&gt;if the form is to be opened in client the &lt;/p&gt;
&lt;p&gt;this.save()&lt;/p&gt;
&lt;p&gt;should be enough to save the form.&lt;/p&gt;
&lt;p&gt;Check the submit connection for errors if you are using it.&lt;/p&gt;</description></item><item><title>Submit a form in a workflow and switch view</title><link>https://www.infopathdev.com:443/forums/thread/47503.aspx</link><pubDate>Thu, 01 Oct 2009 20:47:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47503</guid><dc:creator>pablin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47503.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=47503</wfw:commentRss><description>Hi,
I&amp;#39;m new to both Infopath and MOSS workflow.

I have an InfoPath form with multiple views (about 5). The first one is a menu, with buttons to switch to the other 4 views. Each of the other views has some fields and a &amp;quot;Save&amp;quot; button.

The form is part of a MOSS workflow and runs as a web form. The intended behavior when clicking the &amp;quot;Save&amp;quot; button on each view, is to submit the data to MOSS, and switch to the View 1 (Menu view), so the data is safe, but the user can continue editing the form.

To accomplish this, I added a rule to the button with 2 actions:
1- Submit information.
2- Switch view to menu view.

When I click the submit menu, however, the form switches to the view but the data is not submitted (If I go back to tasks and re-open the form, none of the data I entered shows up). Any hint on how to accomplish this?

If I switch the action 2 to &amp;quot;Close the form&amp;quot;, the data is saved as expected, but the user has to do an additional click to re-open the form, since closing the forms results in the user being redirected to the tasks list instead of the first view of the form.

Thanks in advance</description></item></channel></rss>