<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Copy preceding-sibling</title><link>https://www.infopathdev.com:443/forums/thread/68673.aspx</link><pubDate>Sun, 24 Jul 2011 21:22:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68673</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68673.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=68673</wfw:commentRss><description>&lt;p&gt;Well, you can add a bunch of rows to your form via Default Values and configure to have them hide if they don&amp;#39;t contain data. Then, your one click will set them and the conditional formatting will unhide them. Just thinking off the top of my head here ... &lt;/p&gt;</description></item><item><title>Copy preceding-sibling</title><link>https://www.infopathdev.com:443/forums/thread/68489.aspx</link><pubDate>Mon, 18 Jul 2011 14:03:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68489</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68489.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=68489</wfw:commentRss><description>&lt;p&gt;I have found only one way to copy previous row of a repeating table/section. Previous solutions I have found only work in the client. Currently I have a button with rules like this:&lt;/p&gt;
&lt;p&gt;preceding-sibling::MyRepeatingGroup[count(preceding-sibling::MyRepeatingGroup) = count(current()/preceding-sibling::MyRepeatingGroup) - 1]/MyField&lt;/p&gt;
&lt;p&gt;the problem is I have to add a row, then click the button. Is there a way to do this with one click? either by just adding a new row or when the button is clicked it does both (new row and copy)? I would like to stay away from code.&lt;/p&gt;</description></item></channel></rss>