<?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: Changing the default view programatically</title><link>https://www.infopathdev.com:443/forums/thread/21183.aspx</link><pubDate>Sun, 24 Jun 2007 23:27:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21183</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21183.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=21183</wfw:commentRss><description>&lt;p&gt;I think you have a couple options here. You do not really have to change the default view you can add a rule when the form opens that switches the view to whatever one you want.&lt;/p&gt;&lt;p&gt;Either way you need a field in your form that keeps track of it state, new, submitted, etc.&lt;/p&gt;&lt;p&gt;When the user submits you can have a rule update this field accordingly and then have a rule when the form opens that checks the field value and if it has been submitted switch views to view B or whatever.&lt;/p&gt;&lt;p&gt;Another option is instead of creating another view just put a confitional format on the clear button that hides it if the form has been submitted.&lt;/p&gt;&lt;p&gt;Have fun.&lt;/p&gt;</description></item><item><title>Changing the default view programatically</title><link>https://www.infopathdev.com:443/forums/thread/21181.aspx</link><pubDate>Sun, 24 Jun 2007 12:40:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21181</guid><dc:creator>zayeroo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21181.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=21181</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;am using infopath 2007 with MOSS,I have a form thats filled in by the user,user then submit the form to a document library.&lt;/p&gt;&lt;p&gt;this form has a clear button which clear all fields once clicked.The problem is that after submission of the form another user must open it to do&lt;/p&gt;&lt;p&gt;&amp;nbsp;a prober action,but that user still see the clear button because he see the same view.&lt;/p&gt;&lt;p&gt;My question is how can I change the default view of the form after the submission?&lt;/p&gt;</description></item></channel></rss>