<?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: Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70154.aspx</link><pubDate>Thu, 08 Sep 2011 15:32:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70154</guid><dc:creator>rbeibv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70154</wfw:commentRss><description>Well done..thank you. first time in this forum and i am very pleased..Cheers</description></item><item><title>Re: Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70152.aspx</link><pubDate>Thu, 08 Sep 2011 15:05:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70152</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70152</wfw:commentRss><description>&lt;p&gt;Yes, that looks right.&amp;nbsp; Remember you&amp;#39;ll need to use the Default Values dialog (Tools-&amp;gt;Default Values in IP 2007, Data-&amp;gt;Default Values in 2010) to add the number of sections you want the form to start off with.&lt;/p&gt;</description></item><item><title>Re: Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70150.aspx</link><pubDate>Thu, 08 Sep 2011 14:56:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70150</guid><dc:creator>rbeibv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70150</wfw:commentRss><description>ok, so if my repeating group name is &amp;quot;cash&amp;quot; i would write the expression like this?

count(preceding-sibling::my:cash) &amp;gt;= 4
or do i create a field called NumberOfSectionsToShow

Thank you for your help.</description></item><item><title>Re: Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70146.aspx</link><pubDate>Thu, 08 Sep 2011 14:46:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70146</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70146.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70146</wfw:commentRss><description>&lt;p&gt;On the repeating sections, you would add conditional formatting to hide the section on the condition&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;count(preceding-sibling::my:&lt;strong&gt;&lt;em&gt;&lt;u&gt;repeatingGroupName&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;) &amp;gt;= &lt;strong&gt;&lt;em&gt;&lt;u&gt;numberOfSectionsToShow&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This will hide the extra sections.&amp;nbsp; You&amp;#39;ll also want to change the repeating sections&amp;#39; properties to prevent users from adding or removing rows.&lt;/p&gt;</description></item><item><title>Re: Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70145.aspx</link><pubDate>Thu, 08 Sep 2011 14:39:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70145</guid><dc:creator>rbeibv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70145.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70145</wfw:commentRss><description>yes this would work perfect. can you advise me on how to do this. Thank you.</description></item><item><title>Re: Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70144.aspx</link><pubDate>Thu, 08 Sep 2011 14:36:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70144</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70144.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70144</wfw:commentRss><description>&lt;p&gt;Well, the Default Values dialog applies to the whole form, not the individual views.&amp;nbsp; Would it be an option to by default have the most sections you could need (4?) and then use conditional formatting to hide the extra ones in certain views?&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70138.aspx</link><pubDate>Thu, 08 Sep 2011 14:14:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70138</guid><dc:creator>rbeibv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70138.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70138</wfw:commentRss><description>Starting off would work as i know in advance how many sections i need inserted for each subsidiary. I use SharePoint to provide the forms so i can select the view based on the user role and load their specific view.</description></item><item><title>Re: Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70137.aspx</link><pubDate>Thu, 08 Sep 2011 14:12:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70137</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70137</wfw:commentRss><description>&lt;p&gt;The form&amp;#39;s Default Values dialog would work for starting off new forms with specific number of sections in each of its repeating groups.&amp;nbsp; Is that what you&amp;#39;re looking for, or do you need something more dynamic?&lt;/p&gt;</description></item><item><title>Inserting a specific number of repeating sections on load</title><link>https://www.infopathdev.com:443/forums/thread/70132.aspx</link><pubDate>Thu, 08 Sep 2011 13:41:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70132</guid><dc:creator>rbeibv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70132</wfw:commentRss><description>I would like to be able to insert a defined number of repeating sections automatically as opposed to having the user select insert item each time. My example is i am designing a form for each of our companies to submit there cash info by bank account. Depending on the location they may have 2 or 3 or 4 bank accounts. As the form functions now they have to click insert item for each account they wish to submit. I would like to be able to load the form and have it automatically display the correct number of sections. Any help will be appreciated.</description></item></channel></rss>