<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Hiding Repeating Section and 'Insert Item' text</title><link>https://www.infopathdev.com:443/forums/thread/92115.aspx</link><pubDate>Sun, 11 Aug 2013 20:52:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92115</guid><dc:creator>skarden</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92115</wfw:commentRss><description>Thanks.  I have it figured out.  In either a repeating or optional section I put in another section where my controls will go.  I then put a button in the repeating or optional section just below the nested section that holds the controls.  Next to the button I put a hidden textbox next to the button.  (To hide the textbox I create a Formatting Rule that if the expression 1=1 then hide the control.  Note: don&amp;#39;t set that while testing so you&amp;#39;ll see the text and be sure it alternates between Show and Hide as described below).  I then set the textbox value to Hide.

I create 2 rules for the button.  If the value of the textbox is Hide I change it to Show (and to stop there) and other the sets it to Hide if it is show.  I also go into the button&amp;#39;s properties and set the name of the button to the the value of the textbox + the name of the section.  That way it will auto-change to Hide/Show MySection when it is clicked.  

I then set a rule for the nested section that if the value of the textbox is &amp;quot;Show&amp;quot; I hide it.  The reason this seems reversed is that because I&amp;#39;m using the textbox value to name the button (so it alternates between Show/Hide the Section) then when the button/tetxbox says Hide the Section, the section is visible and when the button/textbox say Show the Section it is because it is hidden.

Because my button is inside the repeating/optional section it isn&amp;#39;t visible until the user adds the section.  Plus, if the user removes the section the repeating/optional section the button disappears as well.

Hope that makes sense.  It is actually very easy to set up and works like a charm</description></item><item><title>Re: Hiding Repeating Section and 'Insert Item' text</title><link>https://www.infopathdev.com:443/forums/thread/91149.aspx</link><pubDate>Sun, 07 Jul 2013 18:34:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91149</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91149.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91149</wfw:commentRss><description>&lt;p&gt;I think it&amp;#39;s a bit of a question for you how you would like the logistics of revealing hidden sections to work, but here is one idea.&lt;/p&gt;&lt;p&gt;I assume you already have something like this:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;A field in the repeating group called Hidden&lt;/li&gt;&lt;li&gt;A button that sets Hidden = true&lt;/li&gt;&lt;li&gt;Conditional formatting on the repeating section with the condition Hidden = true -&amp;gt; Hide&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;How about adding this to your form&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Add a boolean field outside the repeating group called ShowAll, and show this as a checkbox in your form. Have it default to false&lt;/li&gt;&lt;li&gt;Modify the conditional formatting on the repeating section to condition: Hidden = true AND ShowAll != true -&amp;gt; Hide (here != means &amp;quot;is not equal to&amp;quot;)&lt;/li&gt;&lt;li&gt;Add a new button in the repeating section that sets Hidden = false&lt;/li&gt;&lt;li&gt;Hide the Hide button when Hidden = true and hide the Show button when Hidden != true&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;This should provide you a way to show all the hidden sections, and mark them as un-hidden if you need to.&lt;/p&gt;</description></item><item><title>Re: Hiding Repeating Section and 'Insert Item' text</title><link>https://www.infopathdev.com:443/forums/thread/91128.aspx</link><pubDate>Fri, 05 Jul 2013 16:52:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91128</guid><dc:creator>skarden</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91128.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91128</wfw:commentRss><description>I too have a repeating section, but I don&amp;#39;t want to show/hide the entire repeating section, I want to be able to show/hide individual sections of the repeating section.  

By placing a button within the repeating section I found that I can use that to hide an individual section.  Naturally, as that part of the repeating section then becomes hidden, the button becomes hidden too.

My problem is how can I show that individual section again?</description></item><item><title>Re: Hiding Repeating Section and 'Insert Item' text</title><link>https://www.infopathdev.com:443/forums/thread/49786.aspx</link><pubDate>Tue, 08 Dec 2009 13:29:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49786</guid><dc:creator>orion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49786.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49786</wfw:commentRss><description>That works great, thanks!</description></item><item><title>Re: Hiding Repeating Section and 'Insert Item' text</title><link>https://www.infopathdev.com:443/forums/thread/49781.aspx</link><pubDate>Tue, 08 Dec 2009 11:46:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49781</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49781.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49781</wfw:commentRss><description>&lt;p&gt;Placing &amp;quot;hide this control&amp;quot; conditional formatting on a repeating section hides the individual rows, not the entire section.&amp;nbsp; You should place your repeating section inside a non-repeating section and hide that instead. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Hiding Repeating Section and 'Insert Item' text</title><link>https://www.infopathdev.com:443/forums/thread/49780.aspx</link><pubDate>Tue, 08 Dec 2009 11:28:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49780</guid><dc:creator>orion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49780</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;added a repeating section to my form which is hidden until the user makes a selection from a drop down list. Although the section hides ok the text &amp;#39;Insert item&amp;#39; is still displaying.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want this text to be hidden when the section is hidden and only show when the repeating section shows. Is this possible?&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;</description></item></channel></rss>