<?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 Populate New List Items</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-new-list-items</link>
		<description>Gravity Support Forums Topic: Dynamically Populate New List Items</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:33:44 +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-populate-new-list-items" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "Dynamically Populate New List Items"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-new-list-items#post-70886</link>
			<pubDate>Mon, 13 Aug 2012 14:55:59 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">70886@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms currently doesn't have a built-in way of doing this. What you can try doing is hook into the plus button click using jQuery and populate the date field using javascript. But you will need somebody with javascript/jQuery experience to be able to do that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Dynamically Populate New List Items"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-new-list-items#post-70872</link>
			<pubDate>Mon, 13 Aug 2012 12:47:06 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">70872@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Not that I know of because we wouldn't know how many rows they would need and those rows don't exist until they add them.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bleepa on "Dynamically Populate New List Items"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-new-list-items#post-70734</link>
			<pubDate>Sun, 12 Aug 2012 09:24:07 +0000</pubDate>
			<dc:creator>bleepa</dc:creator>
			<guid isPermaLink="false">70734@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have a form where a user can enter events into a 4 column list, where I am pre-populating the second column with tomorrow's date.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//Prepopulate list with tomorrow&#38;#39;s date
function populate_date($value){
	$current_date = date( &#38;quot;d/m/Y&#38;quot;, strtotime( &#38;quot;tomorrow&#38;quot; ) );
	return array( &#38;quot;&#38;quot;,$current_date,&#38;quot;&#38;quot;,&#38;quot;&#38;quot; );
}
add_filter(&#38;quot;gform_field_value_list&#38;quot;, &#38;quot;populate_date&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This works for the first row, which makes sense considering I am returning a one row array. However, I was wondering if there was an easy way to pre-populate any extra rows that are added by the user, without having to return an array with an arbitrary number of rows.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
