<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How to compare a dropdown item quantity with a entered quantity</title><link>https://www.infopathdev.com:443/forums/thread/38365.aspx</link><pubDate>Thu, 12 Feb 2009 18:24:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38365</guid><dc:creator>chris.fowler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38365.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38365</wfw:commentRss><description>&lt;p&gt;I am trying to build a supply request form that looks up the items in a sharepoint inventory list. I would like&amp;nbsp;to place a validation that compares what the requested&amp;nbsp;quantity with the onhand quanity.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My&amp;nbsp;form has a repeating table with two fields a dropdown&amp;nbsp;of the item descriptions retrieved from the list and a textbox for requested quantity. However when I make a selection from the dropdown and try to validate the quantity requested to the quantity onhand&amp;nbsp;it only validates against the first item in the list.&lt;/p&gt;
&lt;p&gt;Could someone point me in the right direction for this type of comparison or a sample of similar design? Thanks&lt;/p&gt;
&lt;p&gt;&lt;img title="Form View 1" style="WIDTH:1092px;HEIGHT:624px;" height="624" alt="Form View 1" src="https://mail.mikogroup.com/image/capture.jpg" width="1092" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Form View 2" style="WIDTH:1024px;HEIGHT:705px;" height="705" alt="Form View 2" src="https://mail.mikogroup.com/image/capture2.jpg" width="1024" /&gt;&lt;/p&gt;</description></item></channel></rss>