<?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: Block dates</title>
		<link>https://legacy.forums.gravityhelp.com/topic/block-dates</link>
		<description>Gravity Support Forums Topic: Block dates</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:28:53 +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/block-dates" rel="self" type="application/rss+xml" />

		<item>
			<title>judelgado on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63804</link>
			<pubDate>Wed, 27 Jun 2012 14:10:18 +0000</pubDate>
			<dc:creator>judelgado</dc:creator>
			<guid isPermaLink="false">63804@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Well, thanks again David.  I'll try to deal with this, because the #input1_1 also changes depending on the form number... there're two variables... post # and date input id.&#60;/p&#62;
&#60;p&#62;I'll keep working on a solution.  Really appreciated your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63799</link>
			<pubDate>Wed, 27 Jun 2012 13:45:01 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">63799@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I wish I knew... My JavaScript-fu is pretty weak. I am not sure how specific the selector needs to be, and if you want to have each one with a different minDate, then you definitely will need different scripts. If the selector can be more general, you might want to use something like $( &#34;.gform_wrapper&#34; ) but again, I don't know if that will work.&#60;/p&#62;
&#60;p&#62;If it does, or you can futz with the JS, then you can put an OR in your if statement.&#60;/p&#62;
&#60;p&#62;if (is_single('11176') &#124;&#124; is_single('11177') &#124;&#124; is_single('11178')) {...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>judelgado on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63796</link>
			<pubDate>Wed, 27 Jun 2012 13:39:57 +0000</pubDate>
			<dc:creator>judelgado</dc:creator>
			<guid isPermaLink="false">63796@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Wow, finally, thanks David you're very helpful.  Last question:  I have many different forms on my site, is there a generic script I can use for datepicker on all forms, or I'll have to create an script for each post with a date input form.  My final code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php if (is_single(&#38;#39;11176&#38;#39;)) { ?&#38;gt;
&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery.noConflict();
  jQuery(document).ready(function($) {
		$( &#38;quot;#input_1_1&#38;quot; ).datepicker({ minDate: &#38;#39;+3d&#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 });

  });
&#38;lt;/script&#38;gt;&#38;lt;?php } ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63789</link>
			<pubDate>Wed, 27 Jun 2012 12:22:14 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">63789@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Look at surrounding your JS with a php script to detect the page and only show on the pages you have forms:&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Function_Reference/is_page&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/is_page&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>judelgado on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63788</link>
			<pubDate>Wed, 27 Jun 2012 12:18:57 +0000</pubDate>
			<dc:creator>judelgado</dc:creator>
			<guid isPermaLink="false">63788@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Tobias, now the calendar icon is showing, but my big problem is with the dropdown menues that only work where the form is, and the rest of the pages are affected.&#60;/p&#62;
&#60;p&#62;For example:  Script applies to this form:  &#60;a href=&#34;http://billbeardcostarica.com/2012/06/zip-line-congo-tree-top-canopy-tour-12-day-2/&#34; rel=&#34;nofollow&#34;&#62;http://billbeardcostarica.com/2012/06/zip-line-congo-tree-top-canopy-tour-12-day-2/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you roll over top menues the drop down will show, but if you go to other page/post the drop downs are not working... so weird...&#60;/p&#62;
&#60;p&#62;Thanks for the help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Tobias on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63774</link>
			<pubDate>Wed, 27 Jun 2012 10:35:02 +0000</pubDate>
			<dc:creator>Tobias</dc:creator>
			<guid isPermaLink="false">63774@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You need to re-declare some things to get the image back. See this post: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/how-to-highlight-current-date-or-future-date-in-jquery-datepicker#post-5606&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/how-to-highlight-current-date-or-future-date-in-jquery-datepicker#post-5606&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63766</link>
			<pubDate>Wed, 27 Jun 2012 09:59:31 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">63766@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you try:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery(document).ready(function($) {
$( &#38;quot;#input_1_1&#38;quot; ).datepicker({ minDate: +2d });
});
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>judelgado on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63763</link>
			<pubDate>Wed, 27 Jun 2012 09:43:53 +0000</pubDate>
			<dc:creator>judelgado</dc:creator>
			<guid isPermaLink="false">63763@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here's the script:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery(document).ready(function($) {
$( &#38;quot;#input_1_1&#38;quot; ).datepicker({ minDate: +2 });
});
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63710</link>
			<pubDate>Tue, 26 Jun 2012 21:24:40 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">63710@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post the last script you tried to use, and I'll see if I can get someone with some JS skills to take a look?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>judelgado on "Block dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/block-dates#post-63697</link>
			<pubDate>Tue, 26 Jun 2012 19:31:09 +0000</pubDate>
			<dc:creator>judelgado</dc:creator>
			<guid isPermaLink="false">63697@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Wow, I'm tired, nothing seems to work here.  I had to remove the script from the header.php since it was messing the entire css, worked for the datepicker but it deactivated the dropdown menus, and the image sliders...  Any help will be appreciated.&#60;/p&#62;
&#60;p&#62;Regards
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
