<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Validation Test Before Submit</title><link>https://www.infopathdev.com:443/forums/thread/73919.aspx</link><pubDate>Thu, 12 Jan 2012 20:23:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73919</guid><dc:creator>omnicube</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73919</wfw:commentRss><description>&lt;p&gt;The XPath on my form was really long because I have a lot of groups; so, I entered a calculated value control on the form and used the XPath expression builder to build my expression. From here,&amp;nbsp;I changed the view to XPath (advanced) within the builder and subsequently copied and pasted&amp;nbsp;the XPath&amp;nbsp;to the expression box in the rules for my Submit control.&lt;/p&gt;</description></item><item><title>Re: Validation Test Before Submit</title><link>https://www.infopathdev.com:443/forums/thread/73918.aspx</link><pubDate>Thu, 12 Jan 2012 20:11:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73918</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73918</wfw:commentRss><description>&lt;p&gt;You bet - Greg Collins taught me that, and it was a huge revelation to me, first off, for the &amp;quot;more than 5 conditions&amp;quot;, but now, if I&amp;#39;m uncertain of the XPath for something, I&amp;#39;ll pretend like I&amp;#39;m creating a rule condition, then change the first drop down to &amp;quot;The expression&amp;quot; and let InfoPath teach me the right XPath. &lt;/p&gt;</description></item><item><title>Re: Validation Test Before Submit</title><link>https://www.infopathdev.com:443/forums/thread/73916.aspx</link><pubDate>Thu, 12 Jan 2012 20:04:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73916</guid><dc:creator>omnicube</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73916.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73916</wfw:commentRss><description>&lt;p&gt;Worked like a charm! &lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;</description></item><item><title>Re: Validation Test Before Submit</title><link>https://www.infopathdev.com:443/forums/thread/73900.aspx</link><pubDate>Thu, 12 Jan 2012 18:23:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73900</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73900.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73900</wfw:commentRss><description>&lt;p&gt;You are not limited to 5 conditions if you change the first dropdown to &amp;quot;The expression&amp;quot; and create your own XPath expression:&lt;/p&gt;
&lt;p&gt;my:field1 = &amp;#39;&amp;#39; and my:field2 = &amp;#39;&amp;#39; and my:field3 = &amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;So:&lt;/p&gt;
&lt;p&gt;my:argument1 != &amp;#39;purple&amp;#39; and (my:field1 = &amp;#39;&amp;#39; or my:field1 = &amp;#39;no&amp;#39;)&amp;nbsp;and (my:field2 = &amp;#39;&amp;#39; or my:field2 = &amp;#39;no&amp;#39;)&amp;nbsp;and (my:field3 = &amp;#39;&amp;#39; or my:field3 = &amp;#39;no&amp;#39;)&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve no doubt there is a more elegant XPath for this, but hopefully it gets the general idea across....&lt;/p&gt;</description></item><item><title>Validation Test Before Submit</title><link>https://www.infopathdev.com:443/forums/thread/73899.aspx</link><pubDate>Thu, 12 Jan 2012 18:14:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73899</guid><dc:creator>omnicube</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73899.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73899</wfw:commentRss><description>&lt;p&gt;Hi IP Devs,&lt;/p&gt;&lt;p&gt;I am working in IP 2010 and I have, surprisingly, created a pretty intensive form in IP and I am almost ready for deployment but I have one situation for which I am not sure how to resolve.&lt;/p&gt;&lt;p&gt;I have&amp;nbsp;eight fields that need to be tested before the user can submit their form to SP.&lt;/p&gt;&lt;p&gt;I attempted to use validation on my submit control to disable the control if the conditions were not met; however, I am limited to 5 conditions using the rules management options.&lt;/p&gt;&lt;p&gt;Is there a way to validate all of the fields outside of the rules management tool? For a more detailed explanation, see below:&lt;/p&gt;&lt;p&gt;I have eight fields that need to be validated&amp;nbsp;- all are&amp;nbsp;drop down boxes&amp;nbsp;(the only values are blank, yes, or no)&lt;/p&gt;&lt;p&gt;For fields 1 through 6, I need to make sure that they are not all marked no or blank&amp;nbsp;before the user submits their form. Fields 7 and 8 come into play when another field on the form is a certain value. Let&amp;#39;s say argument1 is that field. If argument1&amp;nbsp; = purple then 7 and 8 become relevant. At this point, I would need to make sure that all fields 1 through 8 are not marked with a no or blank.&lt;/p&gt;&lt;p&gt;Any help is appreciated!&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Cube&lt;/p&gt;</description></item></channel></rss>