<?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: Dynamic Population of a date</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-of-a-date</link>
		<description>Gravity Support Forums Topic: Dynamic Population of a date</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 21:45:57 +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/dynamic-population-of-a-date" rel="self" type="application/rss+xml" />

		<item>
			<title>marcvos on "Dynamic Population of a date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-of-a-date#post-66790</link>
			<pubDate>Wed, 18 Jul 2012 05:38:44 +0000</pubDate>
			<dc:creator>marcvos</dc:creator>
			<guid isPermaLink="false">66790@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Default values are ok, but I guess that means I have to adjust them for every form. So when I add a form for a training in another month, I have to adjust the start and end date. If I could automatically set the end date, it would make things a bit easier. However, it's no disaster if I have to do it manually.&#60;/p&#62;
&#60;p&#62;For the record, the end date is only for my own convenience, so I can view it in my Entry Management.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Dynamic Population of a date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-of-a-date#post-66786</link>
			<pubDate>Wed, 18 Jul 2012 05:31:32 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">66786@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you give me more information on why you need the date attached to the form? You could create admin only fields with default values in them. Thus, when you create the form for a specific training, you could have the start and end values already set as default in hidden fields. Would something like that work, or do you need it to be dynamic?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>marcvos on "Dynamic Population of a date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-of-a-date#post-66785</link>
			<pubDate>Wed, 18 Jul 2012 05:29:07 +0000</pubDate>
			<dc:creator>marcvos</dc:creator>
			<guid isPermaLink="false">66785@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That looks difficult ;-) I'm not familiar with a lot of code writing and have no experience with JS of query strings...&#60;/p&#62;
&#60;p&#62;The date won't be selected in the form, since the form is only available for a specific date (I create a new form for every training, because I want to use the Entry Limit). So, I have to find a way to attach a date to the form (not visible for the visitor) and add 2 weeks to that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Dynamic Population of a date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-of-a-date#post-66782</link>
			<pubDate>Wed, 18 Jul 2012 05:17:45 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">66782@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Where will the initial date be coming from? Will there be a date field to select the start? If so, then it will require JS to dynamically show the end date two weeks later. If there will be a query string with the date attached to it. For example, you have a link like:&#60;br /&#62;
&#60;a href=&#34;http://www.example.com/course-signup/?start=18072012&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com/course-signup/?start=18072012&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;Then you would use the gform_pre_render hook and some PHP to grab that date, and create a date two weeks later, and put it in a form field before the form shows. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Dynamic Population of a date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-of-a-date#post-66781</link>
			<pubDate>Wed, 18 Jul 2012 05:17:45 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">66781@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Where will the initial date be coming from? Will there be a date field to select the start? If so, then it will require JS to dynamically show the end date two weeks later. If there will be a query string with the date attached to it. For example, you have a link like:&#60;br /&#62;
&#60;a href=&#34;http://www.example.com/course-signup/?start=18072012&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com/course-signup/?start=18072012&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;Then you would use the gform_pre_render hook and some PHP to grab that date, and create a date two weeks later, and put it in a form field before the form shows. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>marcvos on "Dynamic Population of a date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-of-a-date#post-66779</link>
			<pubDate>Wed, 18 Jul 2012 04:57:30 +0000</pubDate>
			<dc:creator>marcvos</dc:creator>
			<guid isPermaLink="false">66779@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there!&#60;/p&#62;
&#60;p&#62;I'am wondering if it is possible to dynamically populate a field with a date in the future. To be more specific: my clients will receive 2 weeks of support after they participate in a training. So I would like to create a field that automatically adds 2 weeks (or 14 days) to the date of the training.&#60;/p&#62;
&#60;p&#62;Is this possible? Thank you in advance!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
