<?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: Delete current row from repeating table in Infopath 2010 webform on SPS 2010</title><link>https://www.infopathdev.com:443/forums/thread/85007.aspx</link><pubDate>Mon, 03 Dec 2012 05:33:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85007</guid><dc:creator>martinjgreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=85007</wfw:commentRss><description>hey Jimmy,

The problem isn&amp;#39;t with delete - that works perfectly in browser forms. &lt;/p&gt;

&lt;p&gt;The problem is that &lt;i&gt;preceding-sibling::my:Task&lt;/i&gt; doesn&amp;#39;t work in browser forms, so the above concat&amp;#39;d command won&amp;#39;t work to delete the current row as it&amp;#39;s recommend for in this &lt;a href="http://www.infopathdev.com/forums/p/21220/74151.aspx"&gt;thread&lt;/a&gt;. Instead it needs to be changed to &lt;i&gt;preceding-sibling::*[local-name() = &amp;quot;Task&amp;quot;])&lt;/i&gt; to work in a browser form.&lt;/p&gt;</description></item><item><title>Re: Delete current row from repeating table in Infopath 2010 webform on SPS 2010</title><link>https://www.infopathdev.com:443/forums/thread/85006.aspx</link><pubDate>Mon, 03 Dec 2012 05:27:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85006</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=85006</wfw:commentRss><description>This is rather puzzling.&amp;nbsp; We&amp;#39;ve used qRules delete in browser forms and had success with it.&amp;nbsp; I&amp;#39;m surprised that you ran into this behavior, but glad that you found a resolution.</description></item><item><title>Re: Delete current row from repeating table in Infopath 2010 webform on SPS 2010</title><link>https://www.infopathdev.com:443/forums/thread/85005.aspx</link><pubDate>Mon, 03 Dec 2012 05:23:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85005</guid><dc:creator>martinjgreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=85005</wfw:commentRss><description>&lt;p&gt;Alright, I&amp;#39;ve resolved this.&lt;/p&gt;&lt;p&gt;Essentially, the expression above won&amp;#39;t work in a browser form (the count will give 0, then add one, deleting the first row). However the following will produce the&amp;nbsp;desired behaviour in a browser form:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;concat(&amp;quot;Delete /xpath=/my:ElectronicChangeControlForm/my:TaskSection/my:TaskTable/my:Task[&amp;quot;, count(preceding-sibling::*[local-name() = &amp;quot;Task&amp;quot;]) + 1, &amp;quot;]&amp;quot;)&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Re: Delete current row from repeating table in Infopath 2010 webform on SPS 2010</title><link>https://www.infopathdev.com:443/forums/thread/85004.aspx</link><pubDate>Mon, 03 Dec 2012 04:51:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85004</guid><dc:creator>martinjgreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85004.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=85004</wfw:commentRss><description>No, the postback happened correctly, and the row was deleted BUT the preceding sibling axis evaluated as zero, so the +1 then always deleted the first row.

I believe this is because it doesn&amp;#39;t evaluate correctly in browser forms</description></item><item><title>Re: Delete current row from repeating table in Infopath 2010 webform on SPS 2010</title><link>https://www.infopathdev.com:443/forums/thread/85003.aspx</link><pubDate>Mon, 03 Dec 2012 04:47:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85003</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85003.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=85003</wfw:commentRss><description>&lt;p&gt;Did the qRules Error field show an error?&amp;nbsp; Have you double-checked that the button has Postback set to Always?&lt;/p&gt;</description></item><item><title>Delete current row from repeating table in Infopath 2010 webform on SPS 2010</title><link>https://www.infopathdev.com:443/forums/thread/85000.aspx</link><pubDate>Mon, 03 Dec 2012 04:34:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85000</guid><dc:creator>martinjgreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=85000</wfw:commentRss><description>&lt;p&gt;Hi folks,&lt;/p&gt;&lt;p&gt;I was trying to delete the current row in a repeating table using a button in the row itself with an action to run the command:&lt;/p&gt;&lt;p&gt;concat(&amp;quot;Delete /xpath=/my:ElectronicChangeControlForm/my:TaskSection/my:TaskTable/my:Task[&amp;quot;, count(preceding-sibling::&lt;strong&gt;&lt;u&gt;my:Task&lt;/u&gt;&lt;/strong&gt;) + 1, &amp;quot;]&amp;quot;)&lt;/p&gt;&lt;p&gt;Which of course tested ok in the InfoPath client, but when I deployed it to SharePoint didn&amp;#39;t work. &lt;/p&gt;&lt;p&gt;Any ideas how to do this in a webform? Tried a few solutions with no luck&lt;/p&gt;</description></item></channel></rss>