<?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: Using rules to auto-complete a text-box field</title><link>https://www.infopathdev.com:443/forums/thread/73715.aspx</link><pubDate>Tue, 10 Jan 2012 14:05:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73715</guid><dc:creator>DavidZ</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73715.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=73715</wfw:commentRss><description>&lt;p&gt;OK, here is the correct way to accomplish this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Add a calculated field, hit the fx button&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Insert field or group&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Choose the appropriate data source&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Expand the list and choose your field&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click Filter Data...&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click Add&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Now change the expression so&amp;nbsp;that the&amp;nbsp;item&amp;nbsp;chosen in your drop down matches an item in your data source.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click OK all the way out and test&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Now in your form, on preview, when you change the drop down field, the new calculated field will display the matching item from your list.&lt;/p&gt;</description></item><item><title>Re: Using rules to auto-complete a text-box field</title><link>https://www.infopathdev.com:443/forums/thread/73673.aspx</link><pubDate>Mon, 09 Jan 2012 21:47:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73673</guid><dc:creator>DavidZ</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73673.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=73673</wfw:commentRss><description>&lt;p&gt;Unfortunately I&amp;#39;m on MOSS 2007 so it doesn&amp;#39;t sound like Query fields are supported in the way that I need. I&amp;#39;m surprised this type of thing was not supported in InfoPath 2007. Thanks for your input Anson.&lt;/p&gt;</description></item><item><title>Re: Using rules to auto-complete a text-box field</title><link>https://www.infopathdev.com:443/forums/thread/73672.aspx</link><pubDate>Mon, 09 Jan 2012 21:23:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73672</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73672.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=73672</wfw:commentRss><description>&lt;p&gt;Ah yes, that is certainly possible.&amp;nbsp; If you only plan to have a few Names (~4 to 5), then adding a rules for each is probably the quickest way.&amp;nbsp; If you have lots of names then you can create a secondary data connection to your SharePoint list and use query fields to search for the description that matched the selected name.&amp;nbsp; You can read more about query fields in thsi blog post below.&amp;nbsp;You&amp;#39;ll need 2010 to leverage queryFields in InfoPath.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/infopath/archive/2010/05/06/sharepoint-list-data-connections-in-infopath-2010.aspx"&gt;http://blogs.msdn.com/b/infopath/archive/2010/05/06/sharepoint-list-data-connections-in-infopath-2010.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Using rules to auto-complete a text-box field</title><link>https://www.infopathdev.com:443/forums/thread/73669.aspx</link><pubDate>Mon, 09 Jan 2012 20:43:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73669</guid><dc:creator>DavidZ</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73669.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=73669</wfw:commentRss><description>&lt;p&gt;Thanks Anson. Are you saying I would have to create a new rule for every &amp;quot;Name&amp;quot; in my SharePoint list? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m looking for a way for InfoPath to grab the correct corresponding &amp;quot;Description&amp;quot; once the Name field is selected. Is this not possible?&lt;/p&gt;</description></item><item><title>Re: Using rules to auto-complete a text-box field</title><link>https://www.infopathdev.com:443/forums/thread/73665.aspx</link><pubDate>Mon, 09 Jan 2012 20:21:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73665</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73665.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=73665</wfw:commentRss><description>&lt;p&gt;Hi DavidZ,&lt;/p&gt;&lt;p&gt;The simplest way of doing this is through rules.&amp;nbsp; Create a new Action rule on the dropdown list box that goes something like &amp;quot;if Name is equal to Item1&amp;quot; then Set a Field&amp;#39;s value to &amp;quot;Description1&amp;quot;.&amp;nbsp; You can create a rule for every item you have in your list to have a different description for each.&lt;/p&gt;&lt;p&gt;Let me know if you need additional help creating the rules and I&amp;#39;d be more than happy to help!&lt;/p&gt;</description></item><item><title>Using rules to auto-complete a text-box field</title><link>https://www.infopathdev.com:443/forums/thread/73657.aspx</link><pubDate>Mon, 09 Jan 2012 17:05:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73657</guid><dc:creator>DavidZ</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=73657</wfw:commentRss><description>&lt;p&gt;I have a SharePoint list with two fields - Name and Description. In my form I have a drop down box which is tied to Name. I want another field in the form to auto-complete with the corresponding Description once the Name field is chosen by the user. The ways that I have attempted so far only populate the text box with the first item from the list of names. Hope this makes sense. Thanks!&lt;/p&gt;</description></item></channel></rss>