<?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: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/121811.aspx</link><pubDate>Tue, 22 Oct 2019 19:01:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121811</guid><dc:creator>Ruenells</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=121811</wfw:commentRss><description>I am not following how i do this and i desperately need this type of solution</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/25644.aspx</link><pubDate>Mon, 14 Jan 2008 19:40:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25644</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25644.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=25644</wfw:commentRss><description>&lt;p&gt;You would create a viewstate field which defaulted to the default view name.&lt;/p&gt;
&lt;p&gt;Then whenever you switched the view via a rule you would also update this field with the new view name using the Set Field Value&amp;nbsp;action.&amp;nbsp;It takes some housekeeping but I have done this several times.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/25640.aspx</link><pubDate>Mon, 14 Jan 2008 18:31:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25640</guid><dc:creator>hyankov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=25640</wfw:commentRss><description>&lt;p&gt;Yes, but how exactly would you set a field value to the current view name without code?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/23525.aspx</link><pubDate>Mon, 08 Oct 2007 13:08:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23525</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=23525</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;For my two-penny&amp;#39;s worth you can do it without code as long as you have a field value linked to each view and use that value to change the view of the form.&amp;nbsp; For example&lt;/p&gt;
&lt;p&gt;@View = 1 is view 1 @View = 2 is view 2 and so on.&amp;nbsp; Then set your validation on the field to also look at the value of the @View field to determine whether to switch on the validation in this view.&amp;nbsp; If you also use rules set on @View to move the views then you are guaranteed to synchronise the @View View with the correct validation.&lt;/p&gt;
&lt;p&gt;Cheers Adam&lt;/p&gt;</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/22406.aspx</link><pubDate>Sat, 18 Aug 2007 14:22:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22406</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22406.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22406</wfw:commentRss><description>&lt;p&gt;This will work with both 2003 and 2007.&lt;/p&gt;</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/22405.aspx</link><pubDate>Sat, 18 Aug 2007 13:27:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22405</guid><dc:creator>buzzby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22405</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using 2007 not 2003. Will see if the prinicible is the same but any help you can give is very helpful&lt;/p&gt;</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/22396.aspx</link><pubDate>Fri, 17 Aug 2007 17:09:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22396</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22396.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22396</wfw:commentRss><description>&lt;p&gt;Yes we can have fields shown as mandatory based upon the view that you are in.&lt;/p&gt;
&lt;p&gt;1. Add a field to your main dom.&lt;br /&gt;2. Add an onSwitchView event to your code&lt;br /&gt;3. Here set the current view to the field added in step 1 (&lt;font size="2"&gt;&lt;strong&gt;thisXDocument.View.Name;&lt;/strong&gt; will give you the curent view name)&lt;/font&gt;&lt;br /&gt;4. Now change your datavalidation to be based up on the field that is added in step 1.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Let me know if you want more details.&lt;/p&gt;</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/22392.aspx</link><pubDate>Fri, 17 Aug 2007 10:27:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22392</guid><dc:creator>buzzby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22392.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22392</wfw:commentRss><description>&lt;p&gt;Do you have a sample?&lt;/p&gt;</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/22388.aspx</link><pubDate>Fri, 17 Aug 2007 08:27:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22388</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22388</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;You can write code to delete all errors(In other views) in except current view.&lt;/p&gt;</description></item><item><title>Re: Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/21678.aspx</link><pubDate>Mon, 16 Jul 2007 12:39:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21678</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21678.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=21678</wfw:commentRss><description>I do not think there is a way to control the validation by view.&amp;nbsp; However you can implement validation manually.&amp;nbsp; If you have a field that you want these properties for then you can turn off the validation and use rules to perform your own validation.&amp;nbsp; With either messages when the field value changes letting the user know the correct inputs and/or on the submit putting rules that validate the values of the fields and do not submit unless they meet the requirements.</description></item><item><title>Mandatory fields only in the view your in??</title><link>https://www.infopathdev.com:443/forums/thread/21670.aspx</link><pubDate>Mon, 16 Jul 2007 08:32:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21670</guid><dc:creator>buzzby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21670.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=21670</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is it possible to&amp;nbsp; have mandatory fields based on the current view. I have a form with 4 views. Each view is a slightly different form that required some mandatory fields. At the moment of course ALL mandatory fields must be filled in before you can save a form. Is it possible to make the form so that only the mandatory field in the view you are in need to be filled in?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>