<?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: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/46258.aspx</link><pubDate>Wed, 26 Aug 2009 16:11:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46258</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46258</wfw:commentRss><description>&lt;p&gt;Here is &lt;a href="http://alecpojidaev.wordpress.com/2009/08/26/a-mutually-exclusive-check-box-in-a-repeating-section/"&gt;how&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Re: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/31022.aspx</link><pubDate>Wed, 30 Jul 2008 12:34:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31022</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31022.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=31022</wfw:commentRss><description>&lt;p&gt;Hi Anuma,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks a ton with your help i was able to accomlish my goal.Thanks a lot.&lt;/p&gt;
&lt;p&gt;Akash Kansal.&lt;/p&gt;</description></item><item><title>Re: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/31021.aspx</link><pubDate>Wed, 30 Jul 2008 10:16:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31021</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31021.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=31021</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Can you please follow the below steps to set default value:&lt;/font&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on list box node name from data source.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;In the List box properties window select “fx” button under the default value window.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on “Insert Field or Group” button and select your secondary data source from Data source dropdown.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Select Field Name [From which field you are getting data from].&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on ok.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Can you follow the below steps to disable the button:&lt;/font&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l1 level1 lfo2;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Double click on the button and in the display tab select conditional formatting.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l1 level1 lfo2;tab-stops:list .5in;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Select Add and add following conditions: “Listbox1 is blank” or “Listbox2 is blank”.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l1 level1 lfo2;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Select “Disable this Control” check box and click on ok.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Re: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/31015.aspx</link><pubDate>Wed, 30 Jul 2008 08:57:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31015</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31015.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=31015</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;But i am populating the list boxes dynamically (i.e. through coding) by pulling data from a data source. So we can&amp;#39;t make it default in the way you suggested.&lt;/p&gt;
&lt;p&gt;And how to disable a button??&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Akash Kansal.&lt;/p&gt;</description></item><item><title>Re: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/31014.aspx</link><pubDate>Wed, 30 Jul 2008 08:50:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31014</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=31014</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Can you please follow the below steps to set the default value in list box.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;1.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;Open List box Properties window.&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;2.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;In the “List Box Entries” area, select the value which one you have to show the default.&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;3.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;Click on “Set Default” button right side of the List box entries.&lt;/font&gt;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I was confused with third question. Sorry for that. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;I think we cannot show Expression message boxes in the browser forms. One thing you can do is enable the button only when any one of the list box is selected. If no value selected from two values, then disable the button. And also add the Tool tip for button.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/31011.aspx</link><pubDate>Wed, 30 Jul 2008 08:25:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31011</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=31011</wfw:commentRss><description>&lt;p&gt;Hi Anuma,&lt;/p&gt;
&lt;p&gt;Thanks a ton.&amp;nbsp; And can you please tell me how to make&amp;nbsp;a entry in list box as default value?&lt;/p&gt;
&lt;p&gt;But regarding third question I was talking about dialog expression box&amp;nbsp;(something like pop up box) not expression box (type of text box).Because in the end, one user must be selected. If no user is selected then we need to show a pop up that &amp;quot;Please select a user&amp;quot;. But if we have one user selected by default in one of the list boxes then i will have no need to show that pop up box.&lt;/p&gt;
&lt;p&gt;Thanks once again.&lt;/p&gt;
&lt;p&gt;Akash Kansal.&lt;/p&gt;</description></item><item><title>Re: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/31008.aspx</link><pubDate>Wed, 30 Jul 2008 07:11:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31008</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=31008</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hi, &lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;For you first question please verify the following steps:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Read your list box names as Listbox1 and Listbox2. Add Following rule to List box 1.&lt;/font&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Select List box properties and select Rules.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on add in the Rules window.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on “Set Condition” and add condition as “Listbox1 is not blank” and click on ok.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on “Add Action” button in the rule window.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Select “Set a Fields value” from action dropdown.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Select “Listbox2 Xpath” in the “field” textbox.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Leave “value” as empty and click on ok.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Add same steps to List box2 also.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt;For second question please verify the following steps:&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Add following rule to Button.&lt;/font&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l1 level1 lfo2;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;In the Rules window set the condition as “Listbox1 is blank” or “Listbox2 is blank”. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;And Click on ok&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l1 level1 lfo2;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on “Add Action” button in the rule window.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l1 level1 lfo2;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Select “Show a Dialog box message” from action dropdown.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l1 level1 lfo2;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Enter your text in “Message” field.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l1 level1 lfo2;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Click on ok.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;For you third question, you can use read-only text boxes instead of expression boxes.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;I hope this will help you.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/31007.aspx</link><pubDate>Wed, 30 Jul 2008 04:30:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31007</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=31007</wfw:commentRss><description>&lt;p&gt;Hi Shiva,&lt;/p&gt;
&lt;p&gt;Thanks for your information.But I am a bit new to Infopath, so&amp;nbsp;can you please explain a bit how to create filters for the list box and how to use them?&lt;/p&gt;
&lt;p&gt;And any idea about other problems i have mentioned previously?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Akash Kansal.&lt;/p&gt;</description></item><item><title>Re: How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/30974.aspx</link><pubDate>Tue, 29 Jul 2008 13:29:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30974</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30974.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=30974</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You have to add filter condition for list box like as below:&lt;/p&gt;
&lt;p&gt;Filter on first list box:&lt;/p&gt;
&lt;p&gt;&amp;lt;secondary drop list values node&amp;gt; != &amp;lt;second list box node XPath&amp;gt;&lt;/p&gt;
&lt;p&gt;Filter on second list box:&lt;/p&gt;
&lt;p&gt;&amp;lt;secondary drop list values node&amp;gt; != &amp;lt;first list box node XPath&amp;gt;&lt;/p&gt;</description></item><item><title>How to create mutually exclusive List boxes</title><link>https://www.infopathdev.com:443/forums/thread/30971.aspx</link><pubDate>Tue, 29 Jul 2008 12:35:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30971</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30971.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=30971</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have two list boxes in my template and requirement is such that if i will select an item from one listbox1&amp;nbsp;and if there is some item already selected in the&amp;nbsp;listbox2 then&amp;nbsp;listbox2 will be cleared (means no selected value). And same goes for other case. Means only one selected&amp;nbsp;item at a time from one of the two list boxes. I applied rules on both the list boxes but these rules will clear both&amp;nbsp;list boxes if i try to select some item with an item already selected in other&amp;nbsp;list box.&lt;/p&gt;
&lt;p&gt;Second&amp;nbsp;problem i am facing is that i have applied a rule on a button (which says that if&amp;nbsp;&amp;nbsp;both the list boxes are empty raise an expression box saying that select an item please.) which is getting fired even before button is clicked. Is this the right functionality for a button rule or i am missing something?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Third and last, the template i am preparing should be browser based so expression boxes would not work there can you suggest some work around for that please.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Akash Kansal.&lt;/p&gt;</description></item></channel></rss>