<?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: Check In &#38; Check Out Date Selection</title>
		<link>https://legacy.forums.gravityhelp.com/topic/check-in-check-out-date-selection</link>
		<description>Gravity Support Forums Topic: Check In &amp; Check Out Date Selection</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:23: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/check-in-check-out-date-selection" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Check In &#38; Check Out Date Selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-in-check-out-date-selection#post-112153</link>
			<pubDate>Tue, 01 Jan 2013 22:35:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">112153@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you need to restrict the date so that check out is post check in (like a hotel stay) you can perform this validation after submission, using the gform_validation filter &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Commonly online, this functionality is provided on the front end, so that once a check in date is selected (which cannot be in the past) that the check out dates are only post-check in date.  That functionality is provided on the front end by JavaScript.  You can use jQuery to modify the date pickers on your web page.  You can find documentation here:  &#60;a href=&#34;http://jqueryui.com/datepicker/&#34; rel=&#34;nofollow&#34;&#62;http://jqueryui.com/datepicker/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Regarding the number of days between the two, you will have to write the PHP to do the math yourself.  You can compare dates and then store the number of days, in the entry, using the gform_pre_submission_filter &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This sort of data-based functionality is not built in to Gravity Forms but can be added by using the built in hooks and filters offered by Gravity Forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>geekyumang on "Check In &#38; Check Out Date Selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-in-check-out-date-selection#post-100307</link>
			<pubDate>Sat, 08 Dec 2012 07:57:08 +0000</pubDate>
			<dc:creator>geekyumang</dc:creator>
			<guid isPermaLink="false">100307@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have to setup the form in such a way that Check Out date is post Check In date selected and also, I am able to find out the number of days between the two.&#60;/p&#62;
&#60;p&#62;It would be helpful if someone could post on how to achieve this.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
