<?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: Handling Validations in multiple views in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/77955.aspx</link><pubDate>Tue, 24 Apr 2012 21:24:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77955</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=77955</wfw:commentRss><description>&lt;p&gt;If you are closing your form, you could use qRules - ClearErrors removes all errors - there is no way to reinstate them until the form is re-opened.&lt;/p&gt;
&lt;p&gt;If it were my form, I&amp;#39;d use validation rules and have another field letting me know if the form was in a state when specific fields were required. So, pretend the initial view is for customer information, and a later view asks for sale information. qRules has a field that stores the value of the current view name (&lt;a&gt;/QdabraRules/View/@current&lt;/a&gt;) - you could use custom validation based on that - say, set a validation rule that if the TotalPrice field is blank and the current view is &amp;quot;Sales&amp;quot;, throw a validation error.&lt;/p&gt;</description></item><item><title>Re: Handling Validations in multiple views in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/77954.aspx</link><pubDate>Tue, 24 Apr 2012 20:27:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77954</guid><dc:creator>crisb184</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=77954</wfw:commentRss><description>&lt;p&gt;Hilary,&lt;/p&gt;
&lt;p&gt;What would the solution be then for this?&amp;nbsp; I have a form with two views and two separate subit methods but I cannot get past the validation errors with rules.&amp;nbsp; Can qRules handle this?&lt;/p&gt;</description></item><item><title>Re: Handling Validations in multiple views in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/72531.aspx</link><pubDate>Thu, 01 Dec 2011 00:24:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72531</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72531.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=72531</wfw:commentRss><description>Skarn has a good thought there for handling this. I&amp;#39;d like to address what I think the root misunderstanding here may be though - If a field has validation on it (even the simple &amp;quot;Cannot be blank&amp;quot; checkbox in the field properties), InfoPath doesn&amp;#39;t care if the field is visible to the user in the view - or on the template at all. The validation is going to fire no matter what the view, because all the fields are included in the main data source&amp;nbsp;and all the validation is going to be checked on submit.</description></item><item><title>Re: Handling Validations in multiple views in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/72429.aspx</link><pubDate>Tue, 29 Nov 2011 11:12:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72429</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72429.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=72429</wfw:commentRss><description>&lt;p&gt;I can&amp;#39;t think of a way which won&amp;#39;t involve going back through the fields on each view and adjusting the validation rules.&lt;/p&gt;&lt;p&gt;You could try using a field to hold a &amp;#39;submitView&amp;#39; value.&lt;/p&gt;&lt;p&gt;Then on each view which has it&amp;#39;s own submit button, the first rule of the button would be to set the &amp;#39;submitView&amp;#39; field to an identifying value for that view.&lt;/p&gt;&lt;p&gt;Then on each view add a condition to each of the validation rules that the &amp;#39;submitView&amp;#39; field equals the identifying value for that view.&lt;/p&gt;&lt;p&gt;This way each view&amp;#39;s validation rules will only fire if the associated value is set in the &amp;#39;submitView&amp;#39; field. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Handling Validations in multiple views in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/72426.aspx</link><pubDate>Tue, 29 Nov 2011 10:12:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72426</guid><dc:creator>Narasimha Murthy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72426.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=72426</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I have an infopath form which contains 12 views. we are publishing infopath form as browser enabled form.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have configured all the views (i.e. controls in each view) &amp;nbsp;with mandatory conditions using rules.&lt;/p&gt;
&lt;p&gt;When i am submitting the form with one view, all the other views validations are also firing and form is not successfully publishing to the sharepoint form library.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Could&amp;nbsp;anyone please let me know how to enable only the current view validations to fire when submitting the form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Please help me in this regard.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Narasimha Murthy. B&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>