<?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 date greater than 18 yrs</title>
		<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs</link>
		<description>Gravity Support Forums Topic: Check date greater than 18 yrs</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:48:39 +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-date-greater-than-18-yrs" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-176214</link>
			<pubDate>Tue, 19 Mar 2013 00:08:04 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">176214@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Danny, for multi-page forms, the gform_validation filter requires a little more work.  Please see the documentation here:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook#Getting_the_Current_Page&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook#Getting_the_Current_Page&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Item 2 will only require you convert the date format so it's the same format as what you're comparing it to.  There are PHP functions to translate the date format before you make you comparison (strtotime).&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://php.net/manual/en/function.strtotime.php&#34; rel=&#34;nofollow&#34;&#62;http://php.net/manual/en/function.strtotime.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Other than that, I can't see any problems with your application.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dalbeck on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-175576</link>
			<pubDate>Mon, 18 Mar 2013 14:00:56 +0000</pubDate>
			<dc:creator>dalbeck</dc:creator>
			<guid isPermaLink="false">175576@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris,&#60;/p&#62;
&#60;p&#62;I have also been looking in to this feature for a while now and having some issues. Wondering if you could tell me if either of these 2 items would cause this to be an issue:&#60;/p&#62;
&#60;p&#62;1. My registration form is a multi step process.&#60;br /&#62;
2. My birthday field is a calendar/date picker.&#60;/p&#62;
&#60;p&#62;Wondering if that would cause any issues.&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-171178</link>
			<pubDate>Thu, 14 Mar 2013 09:41:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">171178@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;One thing I noticed when looking at your page is that there is a bunch of extra markup where the Gravity Form is output. Take a look at the source of that page (when not logged in) around lines 572 to 581. There are extra &#38;lt; br &#38;gt; tags and closing &#38;lt; p &#38;gt; tags in there which are not coming from Gravity Forms.  Those are coming from a theme or plugin on your site.  Please see these topics for people who have had similar problems:  &#60;a href=&#34;http://www.gravityhelp.com/forums/tags/raw&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/tags/raw&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The quick fix may be  to wrap the [gravityform id=5 ajax=&#34;true&#34;] shortcode in the [raw] shortcode like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
[raw][gravityform id=5 title=&#38;quot;false&#38;quot; description=&#38;quot;false&#38;quot; ajax=&#38;quot;true&#38;quot;][/raw]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Once you get rid of that extra markup, we'll take another look.&#60;/p&#62;
&#60;p&#62;If you can't figure out where the extra HTML is coming from, please use our theme and plugin conflict resolution steps &#60;a href=&#34;http://rkt.gs/testing&#34; rel=&#34;nofollow&#34;&#62;http://rkt.gs/testing&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abbottps on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-170192</link>
			<pubDate>Wed, 13 Mar 2013 17:06:37 +0000</pubDate>
			<dc:creator>abbottps</dc:creator>
			<guid isPermaLink="false">170192@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Chris, &#60;/p&#62;
&#60;p&#62;I decided to go on vacation in Hawaii for 2 weeks, get a tan, and give you some more time to research my problem.  I know you have been working on this the whole time I was away so I'm eager for your response. &#60;/p&#62;
&#60;p&#62;Here's the code in functions.php for the active theme:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/private/op4hf2gm9h8xagn29ru1pw&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/private/op4hf2gm9h8xagn29ru1pw&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here's the url where I'm testing this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://ferrara.brickfish.com/age-gate/&#34; rel=&#34;nofollow&#34;&#62;http://ferrara.brickfish.com/age-gate/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;As you can see the filter appears to function correctly as the javascript debugging message will show up, but firebug console is spitting out this error:&#60;/p&#62;
&#60;p&#62;referenceError: $form is not defined&#60;/p&#62;
&#60;p&#62;Maybe my brain isn't working yet back from vacation but I'm not following that ... &#60;/p&#62;
&#60;p&#62;Should I declare that form variable and set it to the gravity form id?  &#60;/p&#62;
&#60;p&#62;Any tips?  &#60;/p&#62;
&#60;p&#62;P.S.  I'm not a php whiz so debugging this isn't up my alley.&#60;/p&#62;
&#60;p&#62;Thank you sir.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-153207</link>
			<pubDate>Sat, 23 Feb 2013 17:39:43 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">153207@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please post all your code and we will take a look.  Please use pastebin.com or pastie.org.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abbottps on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-152601</link>
			<pubDate>Fri, 22 Feb 2013 20:40:40 +0000</pubDate>
			<dc:creator>abbottps</dc:creator>
			<guid isPermaLink="false">152601@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Looks like it's breaking here:&#60;/p&#62;
&#60;p&#62;// retrieve the $form&#60;br /&#62;
 $form = $validation_result['form'];&#60;/p&#62;
&#60;p&#62;I can't get $form value to print.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-152592</link>
			<pubDate>Fri, 22 Feb 2013 20:22:18 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">152592@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're welcome. Let us know what you find out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abbottps on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-152589</link>
			<pubDate>Fri, 22 Feb 2013 20:21:40 +0000</pubDate>
			<dc:creator>abbottps</dc:creator>
			<guid isPermaLink="false">152589@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Chis,&#60;/p&#62;
&#60;p&#62;I'm ahead of ya .. I'm debugging it now.  It's firing, so I think it's in the right place.  I&#34;ll let you know where I get.  &#60;/p&#62;
&#60;p&#62;Thank you for the quick response!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-152582</link>
			<pubDate>Fri, 22 Feb 2013 20:08:21 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">152582@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That code resides in your theme's functions.php.  Sounds like this is correct: /wp-content/themes/ultimatum/functions.php&#60;/p&#62;
&#60;p&#62;If it doesn't seem to fire, something is wrong with it. Can you be sure it is being applied to this form by echoing something, just to see if the code is run?  Even:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
echo &#38;quot;Hello.  It works&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;right on line 6.  Once you're sure the code is being processed, we can see why it's not working for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abbottps on "Check date greater than 18 yrs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-date-greater-than-18-yrs#post-152572</link>
			<pubDate>Fri, 22 Feb 2013 19:57:37 +0000</pubDate>
			<dc:creator>abbottps</dc:creator>
			<guid isPermaLink="false">152572@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Chris,&#60;/p&#62;
&#60;p&#62;I'm stalking Nathan here ... &#60;/p&#62;
&#60;p&#62;Where does this code reside?  I can follow the example, but it's not clear to me where it should go.  &#60;/p&#62;
&#60;p&#62;Nathan here had a blog post about the issue, and /wp-includes/functions.php would error.&#60;br /&#62;
For my installation I've tried /wp-content/themes/ultimatum/functions.php - this doesn't error but the filter doesn't seem to fire. &#60;/p&#62;
&#60;p&#62;I'm certain the form id and input/field are correct. &#60;/p&#62;
&#60;p&#62;Any suggestions to help debug this?&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
