<?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: insert Item in Repeating section on Even Change</title><link>https://www.infopathdev.com:443/forums/thread/33314.aspx</link><pubDate>Tue, 21 Oct 2008 20:13:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33314</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33314</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you know specific row number then you can use the below code to get the node,&lt;/p&gt;
&lt;p&gt;Var row = XDocument.DOM.selectSingleNode(&amp;quot;RepeatingNodeXPath[RowNumber]&amp;quot;);&lt;/p&gt;
&lt;p&gt;RepeatingNodeXPath - Repeating node XPath (&amp;quot;my:myFields/my:group1/my:group2&amp;quot;)&lt;/p&gt;
&lt;p&gt;RowNumber - Row Index number (specific row number)&lt;/p&gt;</description></item><item><title>Re: insert Item in Repeating section on Even Change</title><link>https://www.infopathdev.com:443/forums/thread/33307.aspx</link><pubDate>Tue, 21 Oct 2008 18:57:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33307</guid><dc:creator>VadimS81</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33307.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33307</wfw:commentRss><description>&lt;p&gt;I got another question, how do I access specific row in that repeating section with JScript thanks a lol.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: insert Item in Repeating section on Even Change</title><link>https://www.infopathdev.com:443/forums/thread/33303.aspx</link><pubDate>Tue, 21 Oct 2008 15:36:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33303</guid><dc:creator>VadimS81</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33303.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33303</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It worked thanks a lot!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: insert Item in Repeating section on Even Change</title><link>https://www.infopathdev.com:443/forums/thread/33280.aspx</link><pubDate>Tue, 21 Oct 2008 03:15:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33280</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33280</wfw:commentRss><description>&lt;p&gt;






&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;Hello,&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;Here is the code to insert the node in onAfterChange event,&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;if(eventObj.Operation != &amp;quot;Insert&amp;quot; || changedValue)&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt; 
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;return;&lt;br /&gt;&amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;changedValue = true;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;repeatingGroup_2&amp;quot;)&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;changedValue = false;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;Here is ‘changedValue’ is boolean type and you have to declare it in global and by default value is fale.&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&lt;/span&gt;</description></item><item><title>Re: insert Item in Repeating section on Even Change</title><link>https://www.infopathdev.com:443/forums/thread/33278.aspx</link><pubDate>Tue, 21 Oct 2008 02:45:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33278</guid><dc:creator>Harij</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33278</wfw:commentRss><description>&lt;p&gt;Can you explain in more detail? &lt;/p&gt;</description></item><item><title>insert Item in Repeating section on Even Change</title><link>https://www.infopathdev.com:443/forums/thread/33274.aspx</link><pubDate>Mon, 20 Oct 2008 21:32:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33274</guid><dc:creator>VadimS81</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33274</wfw:commentRss><description>&lt;p&gt;I have a question.&amp;nbsp; Is it possible to insert item in a repeating section on change event?&amp;nbsp; Like instead of clicking on insert item, I want two items to open at once.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks a lot.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>