<?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: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117533.aspx</link><pubDate>Fri, 27 Oct 2017 13:27:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117533</guid><dc:creator>malkovich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117533.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117533</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It&amp;#39;s just perfect! Thank you for your help.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117530.aspx</link><pubDate>Thu, 26 Oct 2017 22:42:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117530</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117530.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117530</wfw:commentRss><description>Oh, will this be used in the browser? You&amp;#39;ll have to use translate instead (sorry, it&amp;#39;s icky): count(xdXDocument:GetDOM(&amp;quot;CNSS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ListSiteNames[translate(current(),&amp;#39;ABCDEFHIJKLMNOPQRSTUVWXYZ&amp;#39;, &amp;#39;abcdefhijklmnopqrstuvwxyz&amp;#39;) = translate(.,&amp;#39;ABCDEFHIJKLMNOPQRSTUVWXYZ&amp;#39;, &amp;#39;abcdefhijklmnopqrstuvwxyz&amp;#39;)]) &amp;gt; 0</description></item><item><title>Re: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117529.aspx</link><pubDate>Thu, 26 Oct 2017 19:51:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117529</guid><dc:creator>malkovich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117529</wfw:commentRss><description>In InfoPath Filler, this expression works -&amp;gt; count(xdXDocument:GetDOM(&amp;quot;CNSS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ListSiteNames[msxsl:string-compare(current(), ., &amp;quot;&amp;quot;, &amp;quot;i&amp;quot;) = 0]) &amp;gt; 0
 but when I publish, I&amp;#39;ve got an error : &amp;quot;an invalid expression has been detected : msxsl:string-compare(current(), ., &amp;quot;&amp;quot;, &amp;quot;i&amp;quot;) = 0&amp;quot;</description></item><item><title>Re: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117528.aspx</link><pubDate>Thu, 26 Oct 2017 19:10:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117528</guid><dc:creator>malkovich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117528</wfw:commentRss><description>You are great!
It works!
Many many thanks.</description></item><item><title>Re: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117527.aspx</link><pubDate>Thu, 26 Oct 2017 14:52:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117527</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117527.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117527</wfw:commentRss><description>Yup, I see the issue - see the attached sample form. Save it locally, right click and select design and you can see in the validation on field1, I&amp;#39;m using a count of matches. The XPath I gave you returns a value from a field if it matches, so instead of true / false, you&amp;#39;d be getting the value of the field. I added a calc&amp;#39;d value to my form to help me debug the formula. I left it there so you could also see that technique (I hate working in the dark, you know?)</description></item><item><title>Re: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117526.aspx</link><pubDate>Thu, 26 Oct 2017 14:48:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117526</guid><dc:creator>malkovich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117526</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The expression is accepted but &lt;span id="result_box" class="short_text"&gt;&lt;span class=""&gt;the condition is not fulfilled, and &lt;/span&gt;&lt;/span&gt;&lt;span id="result_box" class="short_text"&gt;&lt;span class=""&gt;the error is not indicated.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117525.aspx</link><pubDate>Thu, 26 Oct 2017 14:35:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117525</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117525</wfw:commentRss><description>I&amp;#39;ll try it on a test form, see what I&amp;#39;ve got wrong there. When you say &amp;quot;it doesn&amp;#39;t work&amp;quot; - do you just mean the formatting doesn&amp;#39;t hide things as expected?</description></item><item><title>Re: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117524.aspx</link><pubDate>Thu, 26 Oct 2017 09:31:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117524</guid><dc:creator>malkovich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117524</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary,&lt;/p&gt;&lt;p&gt;Thank you for answering.&lt;/p&gt;&lt;p&gt;When I replace the expression in the rule by&amp;nbsp; &amp;quot;xdXDocument:GetDOM(&amp;quot;CNSS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[msxsl:string-compare(current(),ListSiteNames,
 &amp;quot;&amp;quot;, &amp;quot;i&amp;quot;) = 0] &amp;quot;, it doens&amp;#39;t work.&lt;/p&gt;&lt;p&gt;Best regards. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117520.aspx</link><pubDate>Wed, 25 Oct 2017 18:19:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117520</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117520.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117520</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I wonder if you move that filter - something like this:&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;CNSS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[msxsl:string-compare(current(),ListSiteNames, &amp;quot;&amp;quot;, &amp;quot;i&amp;quot;) = 0]&amp;nbsp;&lt;/p&gt;</description></item><item><title>Comparison of two values case insensitive</title><link>https://www.infopathdev.com:443/forums/thread/117518.aspx</link><pubDate>Wed, 25 Oct 2017 14:51:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117518</guid><dc:creator>malkovich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117518.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117518</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;My request is simple. In a form, I would like to compare if the value of a field already exists in a sharepoint list.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve created a data connection (with a sharepoint list) that I can use for some treatment. For a field, I made a validation rule which compares his value with the values of the existing sharepoint list.&lt;/p&gt;&lt;p&gt;The rule is : if SiteName is equal to ListSiteNames -&amp;gt; display of a message Error! . But this rule is only case sensitive (if &amp;quot;Utaka&amp;quot; is equal to &amp;quot;Utaka -&amp;gt; Error! ) &lt;/p&gt;&lt;p&gt;For the moment, the rule (if &amp;quot;utaka&amp;quot; is equal to &amp;quot;Utaka&amp;quot;) is not an error, but I would like that it&amp;#39;s an error. &lt;/p&gt;&lt;p&gt;I&amp;#39;ve created another condition : if the expression &amp;quot;msxsl:string-compare(.,xdXDocument:GetDOM(&amp;quot;CNSS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/ListSiteNames, &amp;quot;&amp;quot;, &amp;quot;i&amp;quot;) = 0&amp;quot;&lt;/p&gt;&lt;p&gt;This condition works but compares only with the first element of the list, I can compare with the thirth element if I want when changing with SharePointListItem_RW[3] but never with the whole list.&lt;/p&gt;&lt;p&gt;&lt;span id="result_box" class="short_text"&gt;&lt;span class=""&gt;I call on your expertise to help me.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Thanks in advance. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>