<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: linked list fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/linked-list-fields</link>
		<description>Gravity Support Forums Topic: linked list fields</description>
		<language>en-US</language>
		<pubDate>Thu, 07 May 2026 21:37:17 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/linked-list-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>Richard Vav on "linked list fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/linked-list-fields#post-154773</link>
			<pubDate>Tue, 26 Feb 2013 04:07:23 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">154773@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris, just thinking out loud at this stage for a possible future form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "linked list fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/linked-list-fields#post-154417</link>
			<pubDate>Mon, 25 Feb 2013 19:20:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">154417@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Very nice.  I took a look at the test form and it seems to be working fine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "linked list fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/linked-list-fields#post-153510</link>
			<pubDate>Sun, 24 Feb 2013 12:00:55 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">153510@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;After taking some time away and then a look with fresh eyes I now have the delete row button working in the list field header.  I decided that rather than triggering the list fields regular remove row button like I have done with add row I would take a different approach and call the jquery .remove method on the last row as long as it isn't the only row remaining.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;#39;.b-delete&#38;#39;).click(function(){
$(&#38;#39;#field_22_1,#field_22_2&#38;#39;).find(&#38;#39;tr:gt(1):last&#38;#39;).remove();
  });&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "linked list fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/linked-list-fields#post-152309</link>
			<pubDate>Fri, 22 Feb 2013 10:14:52 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">152309@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have setup a test form here, &#60;a href=&#34;http://www.eandhbaxendale.com/testing/&#34; rel=&#34;nofollow&#34;&#62;http://www.eandhbaxendale.com/testing/&#60;/a&#62; it has two list fields each with 5 columns and I have linked them so if a row is added to one it is also added to the other.  This is what I am using to add the rows&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;#39;#field_22_1 th:last,#field_22_2 th:last&#38;#39;).html(&#38;#39;&#38;lt;img src=&#38;quot;http://www.eandhbaxendale.com/wordpress/wp-content/plugins/gravityforms/images/add.png&#38;quot; class=&#38;quot;b-add&#38;quot; title=&#38;quot;Add a row&#38;quot; alt=&#38;quot;Add a row&#38;quot; style=&#38;quot;cursor:pointer;margin:0 3px;&#38;quot;&#38;gt;&#38;#39;)
$(&#38;#39;.b-add&#38;#39;).click(function(){
  $(&#38;#39;#field_22_1 .add_list_item:last,#field_22_2 .add_list_item:last&#38;#39;).click()
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I would now like do the same with delete row, if a row is deleted from one list field the corresponding row should also be deleted from the other list field, now if I go down the same route as I have done for add row by hiding the original buttons and adding a delete row button to the table header how do I prevent it from deleting the first row when only that remains.  The other option would be to leave the existing delete row buttons in place but how do I make them act on both list fields at the same time.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
