<?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 do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/64052.aspx</link><pubDate>Wed, 09 Feb 2011 22:26:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64052</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64052.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=64052</wfw:commentRss><description>&lt;p&gt;Hi Exemplaris,&lt;/p&gt;
&lt;p&gt;Sorry for my rant. We&amp;#39;ll try to tone it down here. We are committed to helping the InfoPath community and we appreciate those who support us in doing so.&lt;/p&gt;
&lt;p&gt;Yours truly,&lt;/p&gt;</description></item><item><title>Re: How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/64039.aspx</link><pubDate>Wed, 09 Feb 2011 21:25:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64039</guid><dc:creator>exemplaris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=64039</wfw:commentRss><description>Qwerty, thanks for the response.

I think you are correct that that would work. I had previously used a Option Button with two buttons &amp;#39;Show Option 20 Details&amp;#39; and &amp;#39;Hide Option 20 Details&amp;#39;. These were in separate sections that would hide the selected button and show the unselected button, thereby always providing only the opposite state. Then if Option 20 was selected in the equipment a rule would set the &amp;quot;Show Option 20 Details&amp;quot; button.

I wanted to change to using an Optional Section so that the Option 20 Details would be more visually homogeneous with the other options that are also available via Option Sections in this part of the form.

Again I appreciate your input.

As it stands now everything else works it&amp;#39;s just that when Option 20 is selected in the equipment list the user still has to click on the Optional Section to have its contents displayed. Not terrible but also not how I would like it.

BTW how do you get space between the paragraphs in this forum? I have them when I type and if I go back and edit but they don&amp;#39;t show when I post.</description></item><item><title>Re: How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/64037.aspx</link><pubDate>Wed, 09 Feb 2011 20:24:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64037</guid><dc:creator>qwerty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=64037</wfw:commentRss><description>Hi exemplaris, you can still use a regular section to do this, I think. Add a button to insert or hide the section. You would have to add a field to your data source, &amp;quot;hideSection&amp;quot;, set to true(). If hideSection = true() and equipment != &amp;quot;option20&amp;quot; then Hide this control. The button sets hideSection to the opposite of its current value. &lt;br /&gt;&lt;br /&gt;Qwerty</description></item><item><title>Re: How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/64026.aspx</link><pubDate>Wed, 09 Feb 2011 16:57:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64026</guid><dc:creator>exemplaris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64026.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=64026</wfw:commentRss><description>First, thank you for the response.

As I mentioned before a regular section won&amp;#39;t work, let me try to clear this up.

The drop-down list box contains the names of 20 pieces of equipment. Each of these pieces has information that I want to gather during installation; serial number, supply voltage etc. I have placed the controls for this information in a regular Section. One of the pieces of equipment can be a stand alone OR an add-on option to the other pieces of equipment. For this item I have inserted an Optional Section further down in the report where other optional equipment reside. Inside this Optional Section are the same types of controls as in the regular section; serial number, supply voltage etc.

If any of the &amp;quot;19&amp;quot; pieces of equipment are chosen the 20th is available via the Optional Section. If the 20th is chosen I hide the regular section and want to have the Optional Section &amp;quot;Included in the form&amp;quot; or opened. This way the information for this piece of equipment is always stored in the same fields.

And as to your rant, I would have thought as someone who is associated with Qdabra that you would not use this forum in this way. Maybe you don&amp;#39;t have to deal with management to get funds for this type of product but it is difficult to convince them that $199.00 to $1950.00 is money well spent to solve one minor, not truly necessary issue.

If you read my original question I ask for help with the code if that is what it took. Although I appreciate Greg&amp;#39;s response it came across like &amp;quot;Yep, it&amp;#39;ll take code! Here buy this!&amp;quot; I don&amp;#39;t have problem with people making money just don&amp;#39;t try to disguise it as &amp;quot;free&amp;quot;. If no one from Qdabra wants to help with this code without trying to make a buck fine, but be up front about it! 

My plea went out to all who use this forum. If I don&amp;#39;t get a usable solution I&amp;#39;ll work around it. 

Don&amp;#39;t get me wrong I appreciate that this forum exists and is free, as I imagine most if not all users do, but coming from a &amp;quot;professional&amp;quot; I find your comments uncalled for and unprofessional.</description></item><item><title>Re: How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/63954.aspx</link><pubDate>Tue, 08 Feb 2011 06:17:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63954</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63954</wfw:commentRss><description>&lt;p&gt;Hi Exemplaris,&lt;/p&gt;
&lt;p&gt;Qwerty is right - you don&amp;#39;t need qRules. Just wrap your controls in a section that has a formatting rule that hides the section if the one value is not selected. You can add default data to the form so that the section always has fields in it. Of course, you can&amp;#39;t require that they be entered since that would cause a validation error. But, so long as the fields aren&amp;#39;t required, having them blank should not be a big problem.&lt;/p&gt;
&lt;p&gt;qRules price tag? Is today Monday or what? This forum is free dude. We pretty much give qRules away. We certainly don&amp;#39;t make any money off of this forum and qRules is so far from being profitable that it&amp;#39;s currently yet another gift to the community. We charge for it because most people end up needing an hour or two of support and if we gave that away for free too we would go out of business. OK, so you have no money. Fine. You can have qRules for free and the cost of a 4-5 sentence testimonial describing how it solved world hunger, provided peace and eternal salvation to InfoPath users everywhere. Fair enough? :)&lt;/p&gt;</description></item><item><title>Re: How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/63953.aspx</link><pubDate>Tue, 08 Feb 2011 05:15:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63953</guid><dc:creator>exemplaris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63953</wfw:commentRss><description>Unfortunately a &amp;quot;regular&amp;quot; section won&amp;#39;t work. In the 19 cases the info in the section is an option to those 19 cases. In the odd case the info is primary.

Thank you for your response anyway.</description></item><item><title>Re: How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/63952.aspx</link><pubDate>Tue, 08 Feb 2011 05:11:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63952</guid><dc:creator>exemplaris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63952.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63952</wfw:commentRss><description>Thanks for the response. 

The price tag for the qRules is a bit much for the one thing I need.

So is there anyone that can help me with this code?</description></item><item><title>Re: How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/63941.aspx</link><pubDate>Mon, 07 Feb 2011 20:07:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63941</guid><dc:creator>qwerty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63941</wfw:commentRss><description>&lt;p&gt;Hi exemplaris,&lt;/p&gt;&lt;p&gt;Instead of writing code and using optional sections, you could just use a normal section with conditional formatting to hide the section when your drop-down listbox is not the odd choice.&lt;/p&gt;&lt;p&gt;Would this work for you?&lt;/p&gt;</description></item><item><title>Re: How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/63935.aspx</link><pubDate>Mon, 07 Feb 2011 18:49:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63935</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63935.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63935</wfw:commentRss><description>&lt;p&gt;It does require you to write code to insert a node/group when a selection is made (and then delete it again when the seletion changes).&lt;/p&gt;&lt;p&gt;You might also look into the Qdabra.com qRules product which has an Insert command that can do this too. This doesn&amp;#39;t require code.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How do I include an Optional Section by the contents of a drop-down list box?</title><link>https://www.infopathdev.com:443/forums/thread/63923.aspx</link><pubDate>Mon, 07 Feb 2011 13:47:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63923</guid><dc:creator>exemplaris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63923.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63923</wfw:commentRss><description>I&amp;#39;m working with IP2003.

I have an Optional Section that is set for &amp;quot;do not include section in the form by default&amp;quot; and that works for 19 out of 20 of my choices in a drop-down Listbox. In the odd instance this section must be displayed and I would like to have it &amp;quot;Include the section in the form by default&amp;quot; when that choice is made in the drop-down Listbox.

If the answer includes writing code I have no experience with that and would ask that you direct me to where this code could be found or to some one willing to help me to write it.

Thank you in advance for your assistance.</description></item></channel></rss>