<?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: Problem validation of user input with SharePoint list as secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/48040.aspx</link><pubDate>Tue, 20 Oct 2009 15:27:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48040</guid><dc:creator>rom@n</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48040.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48040</wfw:commentRss><description>&lt;p&gt;Ok guys, I found the problem.&amp;nbsp;Secondary data connection to SharePoint list&amp;nbsp;had &amp;quot;Include data for the active form only&amp;quot; checked. I unchecked it and now it works fine with both Data Validation and the Rule ways of validating text box user inputs. Thanks!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Problem validation of user input with SharePoint list as secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/48034.aspx</link><pubDate>Tue, 20 Oct 2009 14:27:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48034</guid><dc:creator>rom@n</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48034.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48034</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to validate user input in text box with&amp;nbsp;SharePoint list data, but it doesn&amp;#39;t work, probably because I&amp;#39;m missing something.&amp;nbsp;I tried it in two ways. First, I put&amp;nbsp;a condifiton in Data Validation of the&amp;nbsp;text box as &amp;quot;FormField1 is equal to SharePointListField1&amp;quot; and typed some text in Screen Tip. But it didn&amp;#39;t catch it when I previewed in InfoPath. I also tried to use a rule instead of built-in validation. I set a condition for the rule as &amp;quot;FormField1 is equal to SharePointListField1&amp;quot;, and as an Action I put&amp;nbsp;&amp;#39;Set a field&amp;#39;s value&amp;#39; with a Field name&amp;nbsp;as FormField1 and left the&amp;nbsp;Value&amp;nbsp;empty. This should clear the text box whenever user enters&amp;nbsp;text in FormField1, which is the same&amp;nbsp;in SharePoint list column. &lt;/p&gt;
&lt;p&gt;I actually tried to implemented what I found&amp;nbsp;in this forum.&amp;nbsp;The explanations were clear, but somehow it does not work for me.&amp;nbsp;Does anyone&amp;nbsp;know what I&amp;#39;m doing wrong?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item></channel></rss>