<?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>Re: Using XPath to populate a list box based on check box selections</title><link>https://www.infopathdev.com:443/forums/thread/60370.aspx</link><pubDate>Fri, 15 Oct 2010 06:22:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60370</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60370.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=60370</wfw:commentRss><description>&lt;p&gt;Greg has a sample on this. Search this site: click Home and search for &amp;quot;Greg cascading dropdowns&amp;quot;. Let us know if you can&amp;#39;t find it.&lt;/p&gt;</description></item><item><title>Re: Using XPath to populate a list box based on check box selections</title><link>https://www.infopathdev.com:443/forums/thread/60345.aspx</link><pubDate>Thu, 14 Oct 2010 19:29:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60345</guid><dc:creator>sscarcella</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60345.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=60345</wfw:commentRss><description>&lt;p&gt;I would like to see an example of this...&amp;nbsp; I am using two cascading dropdown lists populated from a secondary data source and pouplated one from the other.&amp;nbsp; The lists are Project Number&amp;nbsp;and Project Name.&amp;nbsp; When they pick a project number they get all the project names associated with that project number.&amp;nbsp; But I dont want it to cascade if they dont know the project number...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you email me this example?&amp;nbsp; &lt;a href="mailto:sscarcella@summite.com"&gt;sscarcella@summite.com&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Using XPath to populate a list box based on check box selections</title><link>https://www.infopathdev.com:443/forums/thread/26572.aspx</link><pubDate>Mon, 18 Feb 2008 23:22:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26572</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26572</wfw:commentRss><description>&lt;p&gt;Hi Mike and welcome to the forum.&lt;/p&gt;
&lt;p&gt;Once you have your data source with all of the particular attributes setup, which I would recommend a Database table probably, since your inventory will change.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Type&amp;nbsp; Model&amp;nbsp; Motor&amp;nbsp; Suspension&amp;nbsp; Trim Rims Stereo etc...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Truck&amp;nbsp;&amp;nbsp;&amp;nbsp; F150&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;V8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLT&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CD&lt;/p&gt;
&lt;p&gt;Obviously there would be multiple configurations in this table to cover all of the potential setups such as options on rim sizes, etc.&lt;/p&gt;
&lt;p&gt;Then you would add your selection fields for each attribute.&amp;nbsp;Rims might have three entries with a checkbox bound to the same field but each would equate to a different value.&amp;nbsp; Another method&amp;nbsp;you could use is to have secondary connections to each of the columns.&amp;nbsp; Then have a dropdown which would display the unique values.&amp;nbsp; These could cascade as well but the dropdown for motor would list the unique values in the whole list or all of the possible choices.&lt;/p&gt;
&lt;p&gt;If you were using webservices, you then could dynamically query the master list of configurations and return the ones that matched the&amp;nbsp;choices of the user in a list box or whatever.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Or you would load the entire list (probably not good performance if there are a lot of records)&amp;nbsp;and use conditional formating on a repeating table to only display the ones which matched the criteria selected.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If you would like to see a sample form that is similar, you can send me an email&amp;nbsp;using the contact button.&lt;/p&gt;</description></item><item><title>Using XPath to populate a list box based on check box selections</title><link>https://www.infopathdev.com:443/forums/thread/26568.aspx</link><pubDate>Mon, 18 Feb 2008 21:07:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26568</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26568.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26568</wfw:commentRss><description>&lt;p&gt;I know that is amouthful, so let me explain.&amp;nbsp; I am trying ot design a decision tree for mapping features into a product.&amp;nbsp; So for instance, if someone says they want a V6 engine, MP3 jack, 20&amp;quot; rims - the list of cars having those features would be displayed.&amp;nbsp; The features would be represented as checkboxes and the resulting list of cars with those checkboxes would be a list box.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have an XML file representing the input to this decision tree, and it is like the example for cascading drop downs - where features are attributes of vehicle nodes.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;lt;vehicles&amp;gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;vehicle name=&amp;quot;F150&amp;quot; rims=&amp;quot;17in&amp;quot; mp3=&amp;quot;no&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;vehicle name=&amp;quot;Taurus&amp;quot; rims=&amp;quot;20in&amp;quot; mp3=&amp;quot;yes&amp;quot;/&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;lt;/vehicles&amp;gt;&lt;/p&gt;
&lt;p&gt;What I am struggling with is how to map the checkbox selections into the XPath I need to select the the vehicle name.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Mike &lt;/p&gt;</description></item></channel></rss>