<?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 not restricting users to previous date</title>
		<link>https://legacy.forums.gravityhelp.com/topic/date-picker-not-restricting-users-to-previous-date</link>
		<description>Gravity Support Forums Topic: Date picker not restricting users to previous date</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 07:13:00 +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-not-restricting-users-to-previous-date" rel="self" type="application/rss+xml" />

		<item>
			<title>JohnnyL on "Date picker not restricting users to previous date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-not-restricting-users-to-previous-date#post-31999</link>
			<pubDate>Mon, 08 Aug 2011 10:44:43 +0000</pubDate>
			<dc:creator>JohnnyL</dc:creator>
			<guid isPermaLink="false">31999@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank You :)&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Johnny
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Date picker not restricting users to previous date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-not-restricting-users-to-previous-date#post-31998</link>
			<pubDate>Mon, 08 Aug 2011 10:43:32 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">31998@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@JohnnyL&#60;/p&#62;
&#60;p&#62;You would place that in your theme's header.php file inside the &#38;lt; head&#38;gt; section of the markup, if you have an external javascript (.js) file that gets called in, you can include it there.. you'll just need to leave the opening and closing script tags out if you put it in the .js file.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JohnnyL on "Date picker not restricting users to previous date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-not-restricting-users-to-previous-date#post-31997</link>
			<pubDate>Mon, 08 Aug 2011 10:38:03 +0000</pubDate>
			<dc:creator>JohnnyL</dc:creator>
			<guid isPermaLink="false">31997@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I would also need to incorporate this type of restriction.&#60;/p&#62;
&#60;p&#62;Were would I need to add the the below ?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$(function() {
		$( &#38;quot;#datepicker&#38;quot; ).datepicker({ minDate: -20, maxDate: &#38;quot;+1M +10D&#38;quot; });
	});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks !&#60;/p&#62;
&#60;p&#62;PS: &#60;strong&#62; Great Product and even Better Support ! :) &#60;/strong&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Date picker not restricting users to previous date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-not-restricting-users-to-previous-date#post-31967</link>
			<pubDate>Sun, 07 Aug 2011 15:18:33 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">31967@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There is no built-in restriction that forces the user to pick a date in the future. The date picker could be used just as often for dates in the past like birth dates, etc.&#60;/p&#62;
&#60;p&#62;The datepicker is part of the jQuery UI library and you can customize it for your site by adding a little script and passing some variables to it. You can find out more information on the jQuery UI site here.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://jqueryui.com/demos/datepicker/&#34; rel=&#34;nofollow&#34;&#62;http://jqueryui.com/demos/datepicker/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;just look for the link on the right that says &#34;restrict date range&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>aidilism on "Date picker not restricting users to previous date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-picker-not-restricting-users-to-previous-date#post-31960</link>
			<pubDate>Sun, 07 Aug 2011 11:48:42 +0000</pubDate>
			<dc:creator>aidilism</dc:creator>
			<guid isPermaLink="false">31960@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there.&#60;/p&#62;
&#60;p&#62;I've an order form here &#60;a href=&#34;http://www.riverwalktandoor.com.sg/wordpress/?page_id=291&#34; rel=&#34;nofollow&#34;&#62;http://www.riverwalktandoor.com.sg/wordpress/?page_id=291&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;One issue I have is that user can pick a date that is before today's date. How can I disallow users to choose back dates and can only choose future dates?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
