<?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: Instances of a Repeating Section based on Field Value</title><link>https://www.infopathdev.com:443/forums/thread/69512.aspx</link><pubDate>Mon, 22 Aug 2011 15:59:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69512</guid><dc:creator>Lockdown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=69512</wfw:commentRss><description>&lt;p&gt;Not a problem! Glad to help.&lt;/p&gt;</description></item><item><title>Re: Instances of a Repeating Section based on Field Value</title><link>https://www.infopathdev.com:443/forums/thread/69511.aspx</link><pubDate>Mon, 22 Aug 2011 15:58:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69511</guid><dc:creator>Erich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=69511</wfw:commentRss><description>&lt;p&gt;Worked like a charm,&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;</description></item><item><title>Re: Instances of a Repeating Section based on Field Value</title><link>https://www.infopathdev.com:443/forums/thread/69508.aspx</link><pubDate>Mon, 22 Aug 2011 15:38:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69508</guid><dc:creator>Lockdown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69508.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=69508</wfw:commentRss><description>&lt;p&gt;It would just be the Xpath for that element: /my:myFields/my:numberOfSections.&lt;/p&gt;
&lt;p&gt;Just copy this for your conditional expression: position() &amp;gt; /my:myFields/my:numberOfSections&lt;/p&gt;</description></item><item><title>Re: Instances of a Repeating Section based on Field Value</title><link>https://www.infopathdev.com:443/forums/thread/69496.aspx</link><pubDate>Mon, 22 Aug 2011 13:43:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69496</guid><dc:creator>Erich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69496.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=69496</wfw:commentRss><description>&lt;p&gt;Lockdown,&lt;/p&gt;
&lt;p&gt;I just have one problem, for &amp;#39;position() &amp;gt; numberOfSections&amp;#39;, what is the correct syntax for numberOfSections?&lt;/p&gt;
&lt;p&gt;For example, if in javascript I would extract it as XDocument.DOM.selectSingleNode(&amp;quot;my:myFields/my:numberOfSections&amp;quot;) what would it look like in the condition?&lt;/p&gt;
&lt;p&gt;Erich&lt;/p&gt;</description></item><item><title>Re: Instances of a Repeating Section based on Field Value</title><link>https://www.infopathdev.com:443/forums/thread/69459.aspx</link><pubDate>Fri, 19 Aug 2011 19:56:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69459</guid><dc:creator>Lockdown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69459.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=69459</wfw:commentRss><description>&lt;p&gt;Also, you will need add the maximum number of sections allowed to the default values. If the max number is way too big then this may not be very effiecient. &lt;/p&gt;
&lt;p&gt;Tools -&amp;gt; Default Values -&amp;gt; find your group and click on the dropdown on the right -&amp;gt; Add another Group below.&lt;/p&gt;
&lt;p&gt;This should do the trick, let me know if this works for you or not.&lt;/p&gt;</description></item><item><title>Re: Instances of a Repeating Section based on Field Value</title><link>https://www.infopathdev.com:443/forums/thread/69458.aspx</link><pubDate>Fri, 19 Aug 2011 19:31:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69458</guid><dc:creator>Lockdown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=69458</wfw:commentRss><description>&lt;p&gt;You can do something like this as a work around:&lt;/p&gt;
&lt;p&gt;Conditional formating -&amp;gt; The expression -&amp;gt; &amp;quot;position() &amp;gt; numberOfSections&amp;quot; -&amp;gt; Hide This Section.&lt;/p&gt;
&lt;p&gt;Use this form as a reference. They use a dropdown list to change some values, but i dont see why you couldn&amp;#39;t do it with a text box.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/infopath/archive/2006/09/09/748003.aspx"&gt;http://blogs.msdn.com/b/infopath/archive/2006/09/09/748003.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Instances of a Repeating Section based on Field Value</title><link>https://www.infopathdev.com:443/forums/thread/69449.aspx</link><pubDate>Fri, 19 Aug 2011 18:14:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69449</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69449.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=69449</wfw:commentRss><description>&lt;p&gt;Hello Erich,&lt;/p&gt;
&lt;p&gt;InfoPath doesn&amp;#39;t have any built-in functionality to do this, but it&amp;#39;s a piece of cake with &lt;a href="http://www.qdabra.com/en/products/qRules_overview.aspx"&gt;qRules&lt;/a&gt;.&amp;nbsp; You can just concatenate the number into the &lt;strong&gt;Insert&lt;/strong&gt; command:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(&amp;#39;Insert /parent=&lt;strong&gt;&lt;u&gt;&lt;em&gt;parentXpath&lt;/em&gt;&lt;/u&gt;&lt;/strong&gt; /child=&lt;strong&gt;&lt;u&gt;&lt;em&gt;childXpath&lt;/em&gt;&lt;/u&gt;&lt;/strong&gt; /count=&amp;#39;, &lt;u&gt;numberOfSections&lt;/u&gt;)&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Instances of a Repeating Section based on Field Value</title><link>https://www.infopathdev.com:443/forums/thread/69445.aspx</link><pubDate>Fri, 19 Aug 2011 16:01:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69445</guid><dc:creator>Erich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=69445</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it possible to create &amp;#39;x&amp;#39; instances of a repeating section based on a number stored in a field?&lt;/p&gt;
&lt;p&gt;ie. 5 in &amp;#39;numberOfSections&amp;#39; results in 5 instances of Section&lt;/p&gt;
&lt;p&gt;Erich&lt;/p&gt;</description></item></channel></rss>