<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Infopath 2010 Repeating table containing 2 additional non repeated textboxes in each repeated row</title><link>https://www.infopathdev.com:443/forums/thread/85931.aspx</link><pubDate>Thu, 10 Jan 2013 08:59:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85931</guid><dc:creator>matt365uk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85931.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85931</wfw:commentRss><description>Thanks for your assistance,I&amp;#39;ve managed to finally resolve this issue with the following code on the change event of the MSLB control


            Dim doc As New XmlDocument()

&amp;#39;Repeated Table Group
            Dim group As XmlNode = doc.CreateElement(&amp;quot;group3&amp;quot;, NamespaceManager.LookupNamespace(&amp;quot;my&amp;quot;))

&amp;#39;Repeated Table Field
            Dim field As XmlNode = doc.CreateElement(&amp;quot;field12&amp;quot;, NamespaceManager.LookupNamespace(&amp;quot;my&amp;quot;))

            Dim node As XmlNode = group.AppendChild(field)
            Dim sb As New System.Text.StringBuilder()


            Dim iterator As XPathNodeIterator = MainDataSource.CreateNavigator().[Select](&amp;quot;/my:myFields/my:group1/my:MSLB&amp;quot;, NamespaceManager)
            While iterator.MoveNext()
                Dim node1 As XPathNavigator = iterator.Current
                Dim children As XPathNodeIterator = node1.SelectChildren(XPathNodeType.All)
                While children.MoveNext
                    Dim child As XPathNavigator = children.Current
            

                    node.InnerText = child.Value 
             
                End While

            End While

            doc.AppendChild(group)

            MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:group2&amp;quot;, NamespaceManager).AppendChild(doc.DocumentElement.CreateNavigator())


The final thing, I wish to achieve is when an item is remove from the MSLB I want it to hide the repeated table row with the same name in the textbox.</description></item><item><title>Re: Infopath 2010 Repeating table containing 2 additional non repeated textboxes in each repeated row</title><link>https://www.infopathdev.com:443/forums/thread/85783.aspx</link><pubDate>Fri, 04 Jan 2013 12:50:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85783</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85783</wfw:commentRss><description>&lt;p&gt;What kind of SharePoint are you using at the moment? If you&amp;#39;re able to use code, it should be possible to accomplish this with qRules.&amp;nbsp; You would create another repeating group with a service name field and any others you need, and place a rule on the MSLB field like this:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Condition: MSLBField is not empty AND not(OtherRepeatingGroup[ServiceName = current()])&lt;br /&gt;Actions: &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;qRules Command - Insert /parent=/path/to/otherRepeatingGroupParent /child=OtherRepeatingGroup&lt;/p&gt;&lt;p&gt;qRules Command - concat(&amp;quot;SetValue /xpath=/path/to/otherRepeatingGroupParent/OtherRepeatingGroup[last()]/ServiceName /value=&amp;quot;, .)&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Infopath 2010 Repeating table containing 2 additional non repeated textboxes in each repeated row</title><link>https://www.infopathdev.com:443/forums/thread/85778.aspx</link><pubDate>Fri, 04 Jan 2013 08:48:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85778</guid><dc:creator>matt365uk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85778.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85778</wfw:commentRss><description>In the short-term it could be a fix, but the user can add services to the Sharepoint list when they need so in the future this could become an issue. 
&lt;br /&gt;&lt;br /&gt;
Just to give a bit of background on the overall project:
&lt;br /&gt;&lt;br /&gt;
Sharepoint where I work in local government is very new, 4 months kind of new &amp;amp; I&amp;#39;m about that skill wise in it at the moment but learning quickly.
&lt;br /&gt;&lt;br /&gt;
This particular project will be used by a team within the sub-department I work in, but it could very quickly go department wide and then to every other department within the organisation. The service list is simply the name of all the teams at the moment of my current sub-department which is around 15 teams but then it were to go department wide it could 100 + per department.
&lt;br /&gt;&lt;br /&gt;
I&amp;#39;m happy if you know a code way or another way to achieve this as long as long as the data input is grouped together i.e. a chosen service which then has next to or underneath it the for additional text &amp;amp; date boxes.
&lt;br /&gt;&lt;br /&gt;
The attached picture is what I current have in place on the form:&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Infopath 2010 Repeating table containing 2 additional non repeated textboxes in each repeated row</title><link>https://www.infopathdev.com:443/forums/thread/85764.aspx</link><pubDate>Thu, 03 Jan 2013 21:20:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85764</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85764</wfw:commentRss><description>&lt;p&gt;This step is considerably trickier.&amp;nbsp; The textboxes need to be part of the repeating structure in order to have unique values in each row, but an MSLB won&amp;#39;t allow you to do that for the repeating field that binds to the MSLB.&lt;/p&gt;&lt;p&gt;Is there a known limit to the number of items in the MSLB? The only codeless approach I can think of is to have a repeating group prefilled with N blank rows, and populated with all the available values when the form is loaded.&amp;nbsp; Then the rows could be shown or hidden based on which values were checked.&amp;nbsp; What is your situation, specifically?&amp;nbsp; Does that sound like it might work?&lt;/p&gt;</description></item><item><title>Infopath 2010 Repeating table containing 2 additional non repeated textboxes in each repeated row</title><link>https://www.infopathdev.com:443/forums/thread/85721.aspx</link><pubDate>Wed, 02 Jan 2013 11:07:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85721</guid><dc:creator>matt365uk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85721.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85721</wfw:commentRss><description>Hi Jimmy,

Firstly Happy New Year!

Thanks for your help I&amp;#39;ve returned from Holiday and implemented your suggestion which worked a treat. I need some help on expanding it a bit further if that&amp;#39;s ok.

The revised scenario:

Within the repeating section, I need to have 2 additional textboxes &amp;amp; two date textboxes but they will need to be unique for each row within the repeated row. As you can see from the attached image I currently have the Service textbox working correctly, but the 4 textboxes below are duplicating themselves and any corrections made to one of the textboxes it updates that textbox for each repeated row with the same value. Any suggestions? (Hope that makes sense!)</description></item><item><title>Re: Display Infopath selected items from multi-selection list box in a repeated section/table textbox</title><link>https://www.infopathdev.com:443/forums/thread/85440.aspx</link><pubDate>Tue, 18 Dec 2012 14:36:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85440</guid><dc:creator>matt365uk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85440.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85440</wfw:commentRss><description>Hi Jimmy,

Thanks for your quick response. No there is no requirement to edit them, just show them.</description></item><item><title>Re: Display Infopath selected items from multi-selection list box in a repeated section/table textbox</title><link>https://www.infopathdev.com:443/forums/thread/85433.aspx</link><pubDate>Tue, 18 Dec 2012 12:05:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85433</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85433.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85433</wfw:commentRss><description>&lt;p&gt;I think this should be pretty simple.&amp;nbsp; The MSLB is already bound to a repeating field, so all you need to do is create a repeating section with that same repeating field, and inside the section, you can type the &lt;strong&gt;Section&lt;/strong&gt; text and add a text box yet again bound to that same field.&amp;nbsp; You may need to filter the repeating section to hide rows where the field is blank.&lt;/p&gt;&lt;p&gt;Do you have a requirement to edit the textboxes that are displayed, or just show them?&lt;/p&gt;</description></item><item><title>Display Infopath selected items from multi-selection list box in a repeated section/table textbox</title><link>https://www.infopathdev.com:443/forums/thread/85432.aspx</link><pubDate>Tue, 18 Dec 2012 11:42:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85432</guid><dc:creator>matt365uk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85432.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85432</wfw:commentRss><description>I require a solution or guidance on the following scenario:

I have a multi-selection list box which displays a list of services from a SharePoint list. What i need to do is when an item is selected I need it to insert the value into a repeating table/section text-box, so for each item selected it will insert that value into a new text-box.

Please find attached a image of what i&amp;#39;m trying to achieve.

Many thanks for any help, in advance.

Matt</description></item></channel></rss>