<?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: Date Picker with Page Breaks</title>
		<link>https://legacy.forums.gravityhelp.com/topic/date-picker-with-page-breaks</link>
		<description>Gravity Support Forums Topic: Date Picker with Page Breaks</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 00:03: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/date-picker-with-page-breaks" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Date Picker with Page Breaks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-with-page-breaks#post-147301</link>
			<pubDate>Fri, 15 Feb 2013 13:36:24 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">147301@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Right on, thanks for posting - glad you got it working!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>karenalenore on "Date Picker with Page Breaks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-with-page-breaks#post-147300</link>
			<pubDate>Fri, 15 Feb 2013 13:33:55 +0000</pubDate>
			<dc:creator>karenalenore</dc:creator>
			<guid isPermaLink="false">147300@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;NEVERMIND!  I did not know I needed the destroy function in there but that did it and it works! Thank you for pointing me in the right direction!&#60;/p&#62;
&#60;p&#62;For others, here is my final code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;

	jQuery(document).bind(&#38;#39;gform_post_render&#38;#39;, function(){

	// destroy default Gravity Form datepicker
        jQuery(&#38;quot;#input_1_7&#38;quot;).datepicker(&#38;#39;destroy&#38;#39;);
        jQuery(&#38;quot;#input_1_8&#38;quot;).datepicker(&#38;#39;destroy&#38;#39;);
        jQuery(&#38;quot;#input_1_39&#38;quot;).datepicker(&#38;#39;destroy&#38;#39;);

	jQuery( &#38;quot;#input_1_7&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });

	jQuery( &#38;quot;#input_1_8&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });

	jQuery( &#38;quot;#input_1_39&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });

	});

&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>karenalenore on "Date Picker with Page Breaks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-with-page-breaks#post-147297</link>
			<pubDate>Fri, 15 Feb 2013 13:10:25 +0000</pubDate>
			<dc:creator>karenalenore</dc:creator>
			<guid isPermaLink="false">147297@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Rob, looking at it I thought that would work but so far it is not.  Here is the code I'm using: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;

	jQuery(document).bind(&#38;#39;gform_post_render&#38;#39;, function(){

	jQuery( &#38;quot;#input_1_7&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });

	jQuery( &#38;quot;#input_1_8&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });

	jQuery( &#38;quot;#input_1_39&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });

	});

&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any thoughts on what I'm doing wrong?!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Date Picker with Page Breaks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-with-page-breaks#post-147287</link>
			<pubDate>Fri, 15 Feb 2013 12:53:43 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">147287@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The gform_post_render hook should do the trick for you.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>karenalenore on "Date Picker with Page Breaks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-with-page-breaks#post-147279</link>
			<pubDate>Fri, 15 Feb 2013 12:22:24 +0000</pubDate>
			<dc:creator>karenalenore</dc:creator>
			<guid isPermaLink="false">147279@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have restriction javascript code for the date picker in the header for two datepicker fields.  It is working on the first page of a multiple page form only.  But if i put the date fields on the second page OR if I hit previous to return to the first page and make revisions, the restriction code is not applied.  Is there a way to force that code to apply every time that page loads?  I need date fields in other sections of the form, not just the first.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script&#38;gt;
	jQuery.noConflict();

	jQuery(document).ready(function($) {
	$( &#38;quot;#input_1_7&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });
	});

	jQuery(document).ready(function($) {
	$( &#38;quot;#input_1_8&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });
	});

	jQuery(document).ready(function($) {
	$( &#38;quot;#input_1_39&#38;quot; ).datepicker({ minDate: &#38;#39;0&#38;#39;, gotoCurrent: true, prevText: &#38;#39;&#38;#39;, showOn: &#38;#39;both&#38;#39;, buttonImage: &#38;#39;/wp-content/plugins/gravityforms/images/calendar.png&#38;#39;, buttonImageOnly: true, beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,&#38;#39;&#38;#39;];  } else {  return [true, &#38;#39;&#38;#39;]; }}  });
	});

&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
