<?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: Blackout dates</title>
		<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates</link>
		<description>Gravity Support Forums Topic: Blackout dates</description>
		<language>en-US</language>
		<pubDate>Wed, 15 Apr 2026 02:54:11 +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/blackout-dates" rel="self" type="application/rss+xml" />

		<item>
			<title>bigshotdj on "Blackout dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates#post-50153</link>
			<pubDate>Tue, 21 Feb 2012 21:01:24 +0000</pubDate>
			<dc:creator>bigshotdj</dc:creator>
			<guid isPermaLink="false">50153@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Kevin Any movement on adding advanced date/scheduling options like date range, blackout dates?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Blackout dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates#post-40602</link>
			<pubDate>Wed, 09 Nov 2011 12:19:32 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">40602@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello Shelley,&#60;br /&#62;
I was browsing through the jQuery UI Datepicker documentation, and unfortunately they still don't support the functionality you are looking for. They have added a minDate and maxDate parameter that you can use to specify a valid range of dates, but you wouldn't be able to exclude weekends and holidays.&#60;br /&#62;
Sorry for the bad news.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Josh on "Blackout dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates#post-39588</link>
			<pubDate>Tue, 01 Nov 2011 16:54:48 +0000</pubDate>
			<dc:creator>Josh</dc:creator>
			<guid isPermaLink="false">39588@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I thought I'd check to see if this issue had any movement. I wasn't sure if the newest update might possibly provide something closer to a solution. In English, just checking. Any new thoughts?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Blackout dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates#post-1936</link>
			<pubDate>Wed, 02 Dec 2009 15:23:24 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">1936@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I agree with you Shelley. That wouldn't be very user friendly. Unfortunately we are bound by the limitation of the jQuery UI datepicker. Not much we can do there.&#60;/p&#62;
&#60;p&#62;Good luck!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Josh on "Blackout dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates#post-1931</link>
			<pubDate>Wed, 02 Dec 2009 13:38:14 +0000</pubDate>
			<dc:creator>Josh</dc:creator>
			<guid isPermaLink="false">1931@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Alex,&#60;/p&#62;
&#60;p&#62;Thanks, but having the form validate available dates for tours AFTER the user hits submit isn't particularly friendly. It'd annoy the hell out of me, that's for sure.&#60;/p&#62;
&#60;p&#62;It's ok, this is outside the expected capability of a form manager anyway. I've been researching other options (there aren't many) and thought I'd ask. I'll find a solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Blackout dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates#post-1906</link>
			<pubDate>Tue, 01 Dec 2009 16:17:32 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">1906@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The datepicker script that we currently use (jQuery UI) does allow us to select some dates as unavailable, so graying out dates in the calendar won't be possible. From what I can see, there are two possible ways to handle this (none of them are great).&#60;/p&#62;
&#60;p&#62;1- You could write javascript code to validate that the date is valid when the user selects a date from the calendar. So the user would be able to select a date, but you would then validate and display an error message if the dates are invalid.&#60;br /&#62;
The problem with this approach is that the only way to do this is to change the datepicker.js file and that will make your  upgrades a bit more painful. You will have to remember to save that file and copy it over the new one after the upgrade.&#60;/p&#62;
&#60;p&#62;2- The other option is to validate the date during the form submission process. You will have to write PHP code to do the validation.&#60;br /&#62;
I think this might be your best option as it doesn't involve changing any of the core files. The only problem is that I will have to add a hook for validation. I don't have a problem doing that, but you will have to wait for the next release.&#60;/p&#62;
&#60;p&#62;Let me know if these seem like valid solutions for you. I can help you with the code part if you need.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Blackout dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates#post-1905</link>
			<pubDate>Tue, 01 Dec 2009 15:45:13 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">1905@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Shelly,&#60;/p&#62;
&#60;p&#62;We've discussed some more advanced date/scheduling options like date range, blackout dates, etc. so they're on the drawing board. I'm not sure how soon they'll make a release or add-on though.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Josh on "Blackout dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blackout-dates#post-1898</link>
			<pubDate>Tue, 01 Dec 2009 12:30:18 +0000</pubDate>
			<dc:creator>Josh</dc:creator>
			<guid isPermaLink="false">1898@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to create a tour registration form that will allow visitors to schedule a campus tour M-F from 9-4, except on dates when the school will be closed. To this end, I need the date selector to allow me to blackout weekends and the occasional holiday as unavailable for selection. Any chance this can ever be possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
