<?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: Dynamically add multiple rows in a form?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-add-multiple-rows-in-a-form</link>
		<description>Gravity Support Forums Topic: Dynamically add multiple rows in a form?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:31:13 +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/dynamically-add-multiple-rows-in-a-form" rel="self" type="application/rss+xml" />

		<item>
			<title>ivycat on "Dynamically add multiple rows in a form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-add-multiple-rows-in-a-form#post-19588</link>
			<pubDate>Mon, 28 Feb 2011 17:42:28 +0000</pubDate>
			<dc:creator>ivycat</dc:creator>
			<guid isPermaLink="false">19588@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a Bill of Lading form created using cforms II in which a user can click a button and add another item row (containing multiple fields such as weight, class, rate, description,etc).  The way it is set up right now is that I use JQuery to add another row to the form, and have the user be able to add as many rows as they wish.  A customer might ship 2 items, or they might ship 12 pallets of items.  There is no upper limit.&#60;/p&#62;
&#60;p&#62;I'd like to convert this form to GForms if possible, but it doesn't seem to save the data I populate it with (using JS).  I thought of some hackish ways I can mange this using a single form element, but wanted to check out if there was a much easier way.&#60;/p&#62;
&#60;p&#62;My idea is to create a hidden text field that stores the entire &#34;Shipping item data&#34; in one serialized dump.  Assuming I can access injected form elements (say from JavaScript or in HTML blocks) from one of the hooks provided during or before the form is saved. I could also just store all of the data in a separate table(s) for easier access - finer control over the data.&#60;/p&#62;
&#60;p&#62;The client eventually wants to tie this information into users, so clients can log in and view previous entries, and might want to eventually create more complex reports that a stored serialized array would complicate, so maybe storing it separately is best?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
