<?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: How to restrict Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/36716.aspx</link><pubDate>Wed, 07 Jan 2009 15:30:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36716</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36716.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=36716</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sorry hadn&amp;#39;t realized that&amp;nbsp;maximum amount of replies could be any figure. Here is condition for disabling control after the limit of 10 replies is reached. &lt;/p&gt;
&lt;p style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:16px;PADDING-TOP:16px;FONT-FAMILY:courier new;BACKGROUND-COLOR:#e1e1e1;"&gt;string-lenth(xdMath:Eval(xdMath:Eval(my:MyRepeatingSection, &amp;#39;substring(&amp;quot;|&amp;quot;, 1, number(my:UserName = userName()))&amp;#39;, &amp;quot;..&amp;quot;))&amp;gt;9&lt;/p&gt;
&lt;p style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:16px;PADDING-TOP:16px;FONT-FAMILY:courier new;BACKGROUND-COLOR:#e1e1e1;"&gt;&lt;font style="BACKGROUND-COLOR:#e1e1e1;" face="Courier New"&gt;It&amp;#39;s the same idea as in that post:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font style="BACKGROUND-COLOR:#e1e1e1;" face="Courier New"&gt;&lt;a href="http://www.infopathdev.com/forums/p/7124/30263.aspx"&gt;http://www.infopathdev.com/forums/p/7124/30263.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: How to restrict Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/36712.aspx</link><pubDate>Wed, 07 Jan 2009 14:47:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36712</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36712.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=36712</wfw:commentRss><description>&amp;nbsp; 
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try out this.You can restrict the user to insert the rows by following the below steps.&lt;/p&gt;
&lt;p&gt;1. Go to repeating section properties. then move to display tab.&lt;/p&gt;
&lt;p&gt;2. Click on conditional formatting.Selct the expression in first drop down and enter the following expression&lt;/p&gt;
&lt;p&gt;&amp;nbsp;count(&amp;quot;repeating section xpath&amp;quot;) = 10&lt;/p&gt;
&lt;p&gt;3. Check ‘Don&amp;#39;t allow users to insert or delete this control&amp;#39;. Click ok.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope you will understand this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to restrict Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/36710.aspx</link><pubDate>Wed, 07 Jan 2009 14:20:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36710</guid><dc:creator>harlme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36710.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=36710</wfw:commentRss><description>&lt;p&gt;I apologise for not understanding this, but I am having a hard time understanding why inserting a text field would solve my issue.&amp;nbsp; In my repeating section, the user can fill it out a minimum of 0 to a maximum of 10 times.&amp;nbsp; I just want to disable it after the 10th time.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;On looking at what I originally had, with a counter; I add data and&amp;nbsp;add my repeating section, the counter increments to 2 (like it should).&amp;nbsp; I add some data and then add another section and the counter stays at 2 when I&amp;#39;m expecting it to increment to 3.&amp;nbsp; I have the rule to increment the counter on the repeating section with no condition tied to it (the rule should always apply).&amp;nbsp; I feel like I&amp;#39;m really close but missing something small.&lt;/p&gt;</description></item><item><title>Re: How to restrict Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/36664.aspx</link><pubDate>Tue, 06 Jan 2009 22:15:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36664</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36664.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=36664</wfw:commentRss><description>&lt;p&gt;I would create additional text field (lets say UserName)&amp;nbsp;at the same level as your feedback field. Feedback field&amp;#39;s rule is setting value of UserName field to the userName() function. In conditional formating properties of your repeating section i would make repeating section disable under following condition:&lt;/p&gt;
&lt;p&gt;contains(xdMath:Eval(xdMath:Eval(my:MyRepeatingSection, &amp;quot;UserName&amp;quot;), &amp;quot;..&amp;quot;),userName())&lt;/p&gt;</description></item><item><title>Re: How to restrict Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/36653.aspx</link><pubDate>Tue, 06 Jan 2009 18:56:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36653</guid><dc:creator>harlme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=36653</wfw:commentRss><description>&lt;p&gt;I have a similar situation where I am trying to limit the number of inserts of a repeating section by a user.&amp;nbsp; We are using this as a stand alone form where the user will submit their data to us AND we have no development helping with this.&amp;nbsp; Due to this fact we have been instructed not to use any custom (advanced) coding on the form.&amp;nbsp; I&amp;#39;ve added a field to the repeating group to be used as a counter (default value of 1).&amp;nbsp; Then in the repeating section set up a rule to increment the counter by 1.&amp;nbsp; Then set up a conditional format to hide the control when the counter is greater than the limit.&amp;nbsp; It seems like I&amp;#39;m close but it still lets me insert more than what I want.&amp;nbsp; I have several sections I&amp;#39;d like to set this type of limit on.&amp;nbsp; Any help is appreciated.&lt;/p&gt;</description></item><item><title>Re: How to restrict Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/24988.aspx</link><pubDate>Fri, 07 Dec 2007 15:36:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24988</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24988</wfw:commentRss><description>&lt;p&gt;Hey There.&lt;/p&gt;
&lt;p&gt;For number one I would use another field as a counter.&amp;nbsp; Have it reset on each open or for each unique user. Use a rule on insert that increments it (could be a true or false too)&amp;nbsp;and then put conditional formating so that if&amp;nbsp;the&amp;nbsp;counter&amp;nbsp;has been incremented or changed do not allow additional inserts.&lt;/p&gt;
&lt;p&gt;For typically use an Active Directory web service to identify each user and check their group membership on form load.&amp;nbsp; You should be able to also query SharePoint on the user but I am not familiar with this.&lt;/p&gt;</description></item><item><title>How to restrict Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/24962.aspx</link><pubDate>Thu, 06 Dec 2007 15:22:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24962</guid><dc:creator>ultragc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24962.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24962</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a web enabled form built using IP 2007 running in MOSS.&amp;nbsp; This form basically is form people to submit a support ticket.&amp;nbsp; At the bottom of the form, there is a repeating section for anyone (ie. regular user and support staff) to enter comment.&amp;nbsp; It has a repeating section in it.&amp;nbsp; My questions are:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) How can I limit the repeating section to allow only one entry each time a user opens it?&lt;/p&gt;&lt;p&gt;2) If I want certain fields to be filled out ONLY by support staff, how do you perform a lookup against a MOSS group or AD group?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Any suggestion is appreciated.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>