<?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: resetting repeating table form</title><link>https://www.infopathdev.com:443/forums/thread/36233.aspx</link><pubDate>Wed, 24 Dec 2008 06:16:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36233</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36233</wfw:commentRss><description>&amp;nbsp; Hi, 
&lt;p&gt;Here is the code to implement the functionality that you have mentioned. It is in c#.&lt;/p&gt;
&lt;p&gt;[InfoPathEventHandler(MatchPath = &amp;quot;CTRL24_5&amp;quot;, EventType = InfoPathEventType.OnClick)]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;public void CTRL24_5_OnClick(DocActionEvent e)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;IXMLDOMNode group10Node = thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:group9/my:group10&amp;quot;);&lt;/p&gt;
&lt;p&gt;IXMLDOMDocument2 sampleDataDom = (IXMLDOMDocument2)thisXDocument.CreateDOM();&lt;/p&gt;
&lt;p&gt;sampleDataDom.setProperty(&amp;quot;SelectionNamespaces&amp;quot;, &amp;quot;&amp;lt;Your form name space&amp;gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt;sampleDataDom.load(&amp;quot;sampledata.xml&amp;quot;);&lt;/p&gt;
&lt;p&gt;IXMLDOMNode sampleGroupNode = sampleDataDom.selectSingleNode(&amp;quot;/my:myFields/my:group9/my:group10&amp;quot;);&lt;/p&gt;
&lt;p&gt;IXMLDOMNodeList group10List = thisXDocument.DOM.selectNodes(&amp;quot;/my:myFields/my:group9/my:group10&amp;quot;);&lt;/p&gt;
&lt;p&gt;((IXMLDOMSelection)group10List).removeAll();&lt;/p&gt;
&lt;p&gt;IXMLDOMNode group10ParentNode = thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:group9&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;group10ParentNode.appendChild(sampleGroupNode);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Here /my:myFields/my:group9/my:group10 is the repeating node xpath.&lt;/p&gt;</description></item><item><title>Re: resetting repeating table form</title><link>https://www.infopathdev.com:443/forums/thread/36230.aspx</link><pubDate>Wed, 24 Dec 2008 04:39:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36230</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36230</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This is possible using code. We have to write the code to replace the existing repeating nodes (10) with one repeating node from sample DOM.&lt;/p&gt;</description></item><item><title>resetting repeating table form</title><link>https://www.infopathdev.com:443/forums/thread/36216.aspx</link><pubDate>Tue, 23 Dec 2008 19:38:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36216</guid><dc:creator>charris1980</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36216.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36216</wfw:commentRss><description>i have a form that i am using simple rules on the submit button to reset values after submission to &amp;quot;&amp;quot;. the problem is there is a repeating table, so if they add 10 items, it just resets all 10 items to &amp;quot;&amp;quot; instead of just resetting it back to 1 row.&amp;nbsp; is there a way to do this via simple rules or does code behind have to happen?</description></item></channel></rss>