<?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: Setting field value in first row/instance of Repeating table/section</title><link>https://www.infopathdev.com:443/forums/thread/23787.aspx</link><pubDate>Wed, 17 Oct 2007 19:00:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23787</guid><dc:creator>nolanfilm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23787</wfw:commentRss><description>&lt;p&gt;Thanks for such a quick response.&amp;nbsp; I was hoping that someone might have an example out there that might help me go in the right direction on this.&amp;nbsp; I knew that code would be involved, but I am unfamiliar with XML and I am just getting started on figuring this out.&amp;nbsp; Any help on this would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Setting field value in first row/instance of Repeating table/section</title><link>https://www.infopathdev.com:443/forums/thread/23768.aspx</link><pubDate>Wed, 17 Oct 2007 14:40:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23768</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23768.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23768</wfw:commentRss><description>&lt;p&gt;Hello and welcome to our forum. Unfortunately to do this you have to write code as there is no way in rules to add repeating nodes to the form. That said we do this all the time and it&amp;#39;s not hard to do in code.&lt;/p&gt;</description></item><item><title>Re: Setting field value in first row/instance of Repeating table/section</title><link>https://www.infopathdev.com:443/forums/thread/23766.aspx</link><pubDate>Wed, 17 Oct 2007 14:36:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23766</guid><dc:creator>nolanfilm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23766.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23766</wfw:commentRss><description>&lt;p&gt;I have a question that is somewhat related to this topic.&amp;nbsp; I would like to be able to have a text box where users can input the amount of rows they would like to have copied based on the default values of the last row so that when the button is pressed the info that was inputed is generated multiple times based on the input value of the text box.&amp;nbsp; Please help on this, I&amp;#39;ve been trying to figure this out for a couple of weeks now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;</description></item><item><title>Re: Setting field value in first row/instance of Repeating table/section</title><link>https://www.infopathdev.com:443/forums/thread/21291.aspx</link><pubDate>Wed, 27 Jun 2007 07:55:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21291</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21291.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=21291</wfw:commentRss><description>Yes this is possible. A few steps to perform though: In my scenario I have a repeating table with only one textbox control, the xPath is the following my:myFields/my:group1/my:group2/my:field1 Double click your repeating table and deselect the &amp;quot;Show insert button and hint text&amp;quot; check box Drag a button into your repeating section, double click it and name it &amp;quot;Insert Section&amp;quot; for example Click the &amp;quot;Edit Form Code...&amp;quot; button Into the OnClick event of the button enter the following XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;xmlToEditName&amp;quot;); XDocument.DOM.selectSingleNode(&amp;quot;my:myFields/my:group1/my:group2[last()]/my:field1&amp;quot;).text = &amp;quot;&amp;quot;; That&amp;#39;s it. To get the correct xmlToEdit name value do the following. From the file menu select &amp;quot;Extract Form Files&amp;quot;, create a new folder on your desktop and extract the files. Open the folder and right click on the manifest file to open it with the notepad. now search vor the xmlToEdit name = &amp;quot;&amp;quot; value for your repeating section/table. In my case the name was gourp2_1. Hope this helps. If you have any further question let me know.</description></item><item><title>Setting field value in first row/instance of Repeating table/section</title><link>https://www.infopathdev.com:443/forums/thread/20946.aspx</link><pubDate>Tue, 19 Jun 2007 15:35:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20946</guid><dc:creator>RLPopeIII</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20946.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=20946</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Is there a way to set the value of a field only&amp;nbsp;for the first row of a table or repeating section (for example &amp;#39;This is the first row&amp;#39;)?&amp;nbsp; All other rows would have no default value.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Ren Pope&lt;/p&gt;</description></item></channel></rss>