<?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: Send data to Form Library with diferent views and mandatory fields in each view</title><link>https://www.infopathdev.com:443/forums/thread/43735.aspx</link><pubDate>Thu, 02 Jul 2009 13:53:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43735</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=43735</wfw:commentRss><description>&lt;p&gt;If you make the field required, then it doesn&amp;#39;t matter which view it is in - it cannot be blank ever.&amp;nbsp; It is not a good idea to use this setting if you have fields that can&amp;#39;t be filled out until later in time.&amp;nbsp; To get around this, you need to use data validation on the fields in the 2nd view and some sort of hidden check field in view 1.&amp;nbsp;&amp;nbsp;Basically, you put data validation on the required fields that say &amp;quot;If&amp;nbsp;CheckField =&amp;nbsp;True and Field is blank, display error.&amp;quot;&amp;nbsp; This way, it won&amp;#39;t be required until that check field is set to True.&amp;nbsp; To set that check field,&amp;nbsp; you have to add a rule at Tools &amp;gt; Form Options &amp;gt; Open and Save, and add a rule with a condition that checks the Status field (this should change after first button is pushed) and sends the user to the proper view depending on the status.&amp;nbsp; If the status is advanced for view 2, then this is when you set the check field to True (or whatever).&amp;nbsp; This puts the user on view 2 and makes the fields required.&lt;/p&gt;
&lt;p&gt;Rule&lt;/p&gt;
&lt;p&gt;-Condition: If Status = 2&lt;/p&gt;
&lt;p&gt;-Actions: Set Field&amp;#39;s Value (Check Field = true())&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Switch view to view 2&lt;/p&gt;</description></item><item><title>Send data to Form Library with diferent views and mandatory fields in each view</title><link>https://www.infopathdev.com:443/forums/thread/43733.aspx</link><pubDate>Thu, 02 Jul 2009 13:38:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43733</guid><dc:creator>hdelav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43733.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=43733</wfw:commentRss><description>&lt;p&gt;Hi there. After all, sorry about english errors, if have someone. &lt;/p&gt;&lt;p&gt;I build one form to use InfoPath Form Services in SharePoint and this form has 2 diferent views. The views are changed by &amp;quot;status&amp;quot; field, that change automaticaly when i press send button in each view.&lt;/p&gt;&lt;p&gt;My problem is when i put diferents fields in diferent views with option &amp;quot;Cannot be blank&amp;quot; in field property, i can&amp;#39;t send the form to the library, because fields in another view need to be completed to send data. &lt;/p&gt;&lt;p&gt;So i need to maintain fiels with options &amp;quot;Cannot be blank&amp;quot; in each view and able to send to library anyway. &lt;/p&gt;&lt;p&gt;can somebody help me?&lt;/p&gt;&lt;p&gt;&amp;nbsp;thanks in advance. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>