<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath rules - validate user by looking at drop down list box items.</title><link>https://www.infopathdev.com:443/forums/thread/97896.aspx</link><pubDate>Wed, 11 Jun 2014 06:48:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97896</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97896.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=97896</wfw:commentRss><description>&lt;p&gt;Hi nemo385,&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t think that you will be able to disable the submit button using the contents of the drop-down list if the choices were entered manually. However, if the items are queried from a list, you can re-query the list filtered by the current user (username()), and then have a formatting condition to disable the submit button if the number of rows returned by the query is less then 1 or equal to zero (which mean that the current user is not in the list since your query did not return any value). I hope this makes sense.&lt;/p&gt;&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;</description></item><item><title>InfoPath rules - validate user by looking at drop down list box items.</title><link>https://www.infopathdev.com:443/forums/thread/97872.aspx</link><pubDate>Mon, 09 Jun 2014 20:59:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97872</guid><dc:creator>nemo385</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97872.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=97872</wfw:commentRss><description>&lt;p&gt;Hi,
&lt;/p&gt;&lt;p&gt;I m hoping that someone in this forum might have encountered this situation and already got help on &amp;#39;how-to.&amp;#39;.&lt;/p&gt;&lt;p&gt;I have a textbox with email addresses separated by semi colons. I also have a drop down list box with those peoples&amp;#39; userid. What I m trying to validate is if username() doesn&amp;#39;t match any of the drop down list box items, then deactivate a button&amp;nbsp; to submit. I don&amp;#39;t know if its simple to achieve or a custom code is needed.&lt;/p&gt;&lt;p&gt;I want to do it using rules if possible. Please let me know. TIA.
&lt;/p&gt;</description></item></channel></rss>