<?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: Expression box working vs Field not working</title><link>https://www.infopathdev.com:443/forums/thread/55247.aspx</link><pubDate>Mon, 24 May 2010 13:35:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55247</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55247</wfw:commentRss><description>&lt;p&gt;It seems that default values act funny when there is a multiple selection list box involved.&amp;nbsp; I would have thought that wouldn&amp;#39;t be an issue here, because the default value involves TopNonBlankRegionalGroup, which is not in a multi-select list box, but maybe it has something to do with the whole chain of events being set off by a change in a multi-select list box.&lt;/p&gt;&lt;p&gt;&amp;nbsp;When multi-select list boxes are involved, the answer is usually to use a default value &lt;i&gt;and&lt;/i&gt; a rule.&amp;nbsp; Rules don&amp;#39;t fire when an item is unchecked in a multi-select list box, and default values don&amp;#39;t work when an item is checked.&lt;/p&gt;&lt;p&gt;I don&amp;#39;t really have any advice beyond that at the moment. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Expression box working vs Field not working</title><link>https://www.infopathdev.com:443/forums/thread/55238.aspx</link><pubDate>Mon, 24 May 2010 10:03:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55238</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55238.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55238</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have added a rule and now have a value.&lt;/p&gt;
&lt;p&gt;Is there a Rule of Thumb I should use as to when to use a rule and when a default value will work ?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;IF default values don&amp;#39;t always get refreshed when expected - is it best not to use them at all ?&lt;/p&gt;
&lt;p&gt;What would your advice be ?&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item><item><title>Re: Expression box working vs Field not working</title><link>https://www.infopathdev.com:443/forums/thread/55191.aspx</link><pubDate>Fri, 21 May 2010 16:20:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55191</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55191</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Have you tried setting the field&amp;#39;s value by placing a rule on TopNonBlankRegionalGroup, instead of just using the default value setting?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Expression box working vs Field not working</title><link>https://www.infopathdev.com:443/forums/thread/55190.aspx</link><pubDate>Fri, 21 May 2010 16:00:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55190</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55190</wfw:commentRss><description>&lt;p&gt;I have an expression box with the value...&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;GetWhosWho&amp;quot;)/dfs:myFields/dfs:dataFields/ns3:GetListItemsStrResponse/ns3:GetListItemsStrResult/Rows/row/Email[../Region = xdXDocument:get-DOM()/my:myFields/my:FormCalculationsGroup/my:TopNonBlankRegionalGroup and ../Role = &amp;quot;Regional EVP&amp;quot;]&lt;/p&gt;
&lt;p&gt;And this brings me the correct value (email) from my secondary data source GetWhosWho&lt;/p&gt;
&lt;p&gt;I have a field with the same xml...&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;GetWhosWho&amp;quot;)/dfs:myFields/dfs:dataFields/ns3:GetListItemsStrResponse/ns3:GetListItemsStrResult/Rows/row/Email[../Region = xdXDocument:get-DOM()/my:myFields/my:FormCalculationsGroup/my:TopNonBlankRegionalGroup and ../Role = &amp;quot;Regional EVP&amp;quot;]&lt;/p&gt;
&lt;p&gt;The field does not bring me back any value.&lt;/p&gt;
&lt;p&gt;I think the xml for the TopNonBlankRegionalGroup (a field) is fully defined (ie.starts at the root).&amp;nbsp; I can&amp;#39;t see why it does not return a value.&lt;/p&gt;
&lt;p&gt;Can someone please point me in the right direction.&lt;/p&gt;
&lt;p&gt;Thank you &lt;/p&gt;
&lt;p&gt;Catharine.&lt;/p&gt;</description></item></channel></rss>