<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Validate entry is needed based on SP list fields</title><link>https://www.infopathdev.com:443/forums/thread/92933.aspx</link><pubDate>Tue, 10 Sep 2013 21:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92933</guid><dc:creator>mpete1310</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92933</wfw:commentRss><description>&lt;p&gt;I talked to an IT person at my work and he said SharePoint has funky ways of using logic sometimes, so it sounds like a SharePoint problem. Interesting idea....I will try that and let you know what happens.&amp;nbsp;thanks. &lt;/p&gt;</description></item><item><title>Re: Validate entry is needed based on SP list fields</title><link>https://www.infopathdev.com:443/forums/thread/92932.aspx</link><pubDate>Tue, 10 Sep 2013 21:06:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92932</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92932.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92932</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Euw. I&amp;#39;m not sure why it is failing in the browser. It sounds like the form is having to post back (which it is doing when you switch views) before the validation is running. I wonder if you could use a helper field for this - a Boolean field that doesn&amp;#39;t show on the form that is set to false and then set it to true on load, use it as part of your validation formula (and HelperField = true). You could set it back to false on submit. Kind of a hack, but all I can think of off-hand....&lt;/p&gt;</description></item><item><title>Re: Validate entry is needed based on SP list fields</title><link>https://www.infopathdev.com:443/forums/thread/92927.aspx</link><pubDate>Tue, 10 Sep 2013 18:43:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92927</guid><dc:creator>mpete1310</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92927.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92927</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi again Hilary,&lt;/p&gt;&lt;p&gt;So I ran into a problem after fixing my problem with your solution. The InfoPath form work fine in preview mode (within InfoPath) but where I publish my form to SharePoint it does not load the same. &lt;/p&gt;&lt;p&gt;&amp;nbsp;I have two views that a button is set to switch between. The only way for the validation to show is when I switch views and then switch back, the validation does not show on initial loading of the form. Any input on why this wouldn&amp;#39;t work is appreciated, thanks.&lt;/p&gt;</description></item><item><title>Re: Validate entry is needed based on SP list fields</title><link>https://www.infopathdev.com:443/forums/thread/92834.aspx</link><pubDate>Fri, 06 Sep 2013 22:10:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92834</guid><dc:creator>mpete1310</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92834.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92834</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It works! thanks a lot!&lt;/p&gt;</description></item><item><title>Re: Validate entry is needed based on SP list fields</title><link>https://www.infopathdev.com:443/forums/thread/92833.aspx</link><pubDate>Fri, 06 Sep 2013 21:53:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92833</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92833.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92833</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Let&amp;#39;s start with the second question. :)&lt;/p&gt;&lt;p&gt;Query fields are fields you can set to indicate the data you want returned - it is like saying &amp;quot;I want all rows where customer name is Bob&amp;quot;. You set query fields prior to executing a query.&lt;/p&gt;&lt;p&gt;So - you would &lt;em&gt;never&lt;/em&gt; use query when choosing fields for filtering. Only the data fields.&lt;/p&gt;&lt;p&gt;I think the issue you are having is the two separate conditions. InfoPath is checking for the PartNumber = field1 and then in your second condition, just looking at the very first instance of SNNeeded. &lt;/p&gt;&lt;p&gt;I would use the following:&lt;/p&gt;&lt;p&gt;1st Condition: field1 is not blank &lt;strong&gt;and&lt;/strong&gt;&lt;br /&gt;2nd Condition: field1 is equal to - then use a formula&lt;/p&gt;&lt;p&gt;For the formula, select PartNumber in your secondary data source (2ds) - when you select it, you&amp;#39;ll see a Filter button. Click that. For the filter, select SNNeeded (2ds) is equal to &amp;quot;yes&amp;quot;.&lt;/p&gt;&lt;p&gt;I *think* this will do it - but if it doesn&amp;#39;t work post back and attach your form under the Options tab and I&amp;#39;ll help you out.&lt;/p&gt;</description></item><item><title>Re: Validate entry is needed based on SP list fields</title><link>https://www.infopathdev.com:443/forums/thread/92831.aspx</link><pubDate>Fri, 06 Sep 2013 21:41:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92831</guid><dc:creator>mpete1310</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92831</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary,&lt;/p&gt;&lt;p&gt;Thanks for the reply. Yes! I need help filtering my XPath inside a data validation rule. I have tried multiple condition filters&amp;nbsp;up to this point and none have worked the way I want. What I have tried the most is if PartNumber (secondary) = field1 (main) *field1&amp;nbsp;(main)&amp;nbsp;is an auto-fill Part Number from secondary&amp;nbsp;in the form*&amp;nbsp;AND SNNeeded? (secondary)&amp;nbsp;= &amp;quot;Yes&amp;quot;&amp;nbsp;&amp;nbsp; then&amp;nbsp;form reads a serial number is needed. &lt;/p&gt;&lt;p&gt;On another note, I don&amp;#39;t fully understand when to use data vs query when choosing fields for filtering. What is the difference?&lt;/p&gt;</description></item><item><title>Re: Validate entry is needed based on SP list fields</title><link>https://www.infopathdev.com:443/forums/thread/92820.aspx</link><pubDate>Fri, 06 Sep 2013 20:58:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92820</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92820</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So - I think what you probably need help with is a filter your XPath - is this a data validation rule? What are conditions you are currently using?&lt;/p&gt;</description></item><item><title>Validate entry is needed based on SP list fields</title><link>https://www.infopathdev.com:443/forums/thread/92707.aspx</link><pubDate>Tue, 03 Sep 2013 23:57:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92707</guid><dc:creator>mpete1310</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92707.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92707</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a form that is going to be used for production of assembled parts. I have several fields on my list that are text boxes and will be filled in with serial numbers when needed. In order to verify that a serial number is needed I made a secondary list (connected to a secondary form) that has fields marked with &amp;quot;yes&amp;quot; or blank. I am having trouble filtering to a single field, say column 3 row 2, to find the value &amp;quot;yes&amp;quot; or blank in that field. I tried using AND&amp;nbsp;conditions to narrow it down but that doesn&amp;#39;t seem to work. Any suggestions are appreciated and if more info is needed I will try to answer. &lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>