<?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: Required field in the current view</title><link>https://www.infopathdev.com:443/forums/thread/25643.aspx</link><pubDate>Mon, 14 Jan 2008 19:34:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25643</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25643.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=25643</wfw:commentRss><description>&lt;p&gt;In Designer you should be able to view your data source in the task pane and see which fields are Required.&lt;/p&gt;
&lt;p&gt;Often you either have to set a default so that they will pass validation or you need to do your own validation.&amp;nbsp; So do not set them as required but check them manually in your form to ensure that the user completes them when necessary via conditional rules.&lt;/p&gt;
&lt;p&gt;Another way to test is to add buttons to navigate all of your views and then browse them to find the field, but that should not be necessary.&lt;/p&gt;</description></item><item><title>Required field in the current view</title><link>https://www.infopathdev.com:443/forums/thread/25638.aspx</link><pubDate>Mon, 14 Jan 2008 17:47:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25638</guid><dc:creator>hyankov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25638.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=25638</wfw:commentRss><description>&lt;p&gt;Hello.&lt;/p&gt;&lt;p&gt;[ InfoPath 2007, Web compatible, No code ]&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have the common problem &amp;#39;required fields in other views&amp;#39;. I guess most of you know what does this mean. I can&amp;#39;t submit my form, because there are some required fields in the other views.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;I tried the most obvious solutions - remove the &amp;#39;required&amp;#39; attribute from the field and try to validate it using rules and etc. This doesn&amp;#39;t work for me, because of the simple fact I cannot determine which view is currently loaded. I have read a couple of threads here regarding this matter, and none of them suggests how exactly to determine the currently loaded view. No, I can&amp;#39;t use code-behind.&lt;/p&gt;&lt;p&gt;If only there was a way to determine one of these:&lt;/p&gt;&lt;p&gt;1. If a particular field is read-only&lt;/p&gt;&lt;p&gt;2. The name of the current view&lt;/p&gt;&lt;p&gt;3. If a particular field is visualized in the view&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Or if a field could have a different default value, in each view...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any ideas? I am kind of desperate here... Any suggestions will be highly appreciated.&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>