<?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: expression for comparing lists</title><link>https://www.infopathdev.com:443/forums/thread/8505.aspx</link><pubDate>Thu, 08 Dec 2005 22:08:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8505</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8505.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8505</wfw:commentRss><description>Hi Matt,&lt;br /&gt;if the user selects the ddl entry "Other" the ddl should be hidden and a text box should apear to enter the new type. I know this case was discussed in an earlier post and my conclusion works for ddl up to three entrys because I can aply the rules for every single element. But there must be an expression to make InfoPath compare the ddl entry with the whole xml file entrys.</description></item><item><title>Re: expression for comparing lists</title><link>https://www.infopathdev.com:443/forums/thread/8504.aspx</link><pubDate>Thu, 08 Dec 2005 22:00:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8504</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8504.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8504</wfw:commentRss><description>I'm not sure I understand your question. If you have a ddl that you want to hide when the user selects other, just use conditional formatting to hide it when it equals "other"...&lt;br /&gt;&lt;br /&gt;Are you wanting to elimate Other from the drop down list when someone chooses it or something? If you're doing that then, why is it in the list at all?  If you're trying to pop up a new DDL when the user selects Other, why don't you just put the DDL inside of a repeating section and have them click "Add item"?&lt;br /&gt;&lt;br /&gt;Please clarify, hope this helps :)&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;</description></item><item><title>expression for comparing lists</title><link>https://www.infopathdev.com:443/forums/thread/5173.aspx</link><pubDate>Thu, 08 Dec 2005 21:17:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5173</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5173</wfw:commentRss><description>I have urgend problem. I have a dropdown listbox and I want to hide it if the user selects the expression "Other". So I created a xml file like this:&lt;br /&gt;&amp;lt;AREACLASS&amp;gt;&lt;br /&gt;  &amp;lt;Class class="Non Hazardous" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="General Purpose" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div1 B,C,D" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div1 C,D" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div1 D" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div2 B,C,D" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div2 C,D" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div2 D" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div2 C" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div2 B" /&amp;gt; &lt;br /&gt;  &amp;lt;Class class="Cl1, Div2 G" /&amp;gt; &lt;br /&gt;&amp;lt;/AREACLASS&amp;gt;&lt;br /&gt;and used it as a secondary data source. It has the same entries as my ddl exept of the expression "Other". I created the rule: if [class] does not contain [selected ddl element] or [selected ddl element] contains "Other" hide this control. That works only for the first element in my xml file. Which expresion do I have to use to make InfoPath comparing the selected item with all the entries in the xml file?&lt;br /&gt;&lt;br /&gt;Thanks Ben</description></item></channel></rss>