<?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: Calculate age from date</title>
		<link>https://legacy.forums.gravityhelp.com/topic/calculate-age-from-date</link>
		<description>Gravity Support Forums Topic: Calculate age from date</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:27:30 +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/calculate-age-from-date" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Calculate age from date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculate-age-from-date#post-37746</link>
			<pubDate>Wed, 12 Oct 2011 18:03:01 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">37746@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This isn't currently a built in feature.  It could be accomplished as a customization.&#60;/p&#62;
&#60;p&#62;- Add a hidden field to your form and position it below the date field&#60;br /&#62;
- Edit this hidden field and give it a Field Label of &#34;Age&#34;&#60;br /&#62;
- Save your form&#60;/p&#62;
&#60;p&#62;Now use the gform_pre_submission hook and some custom code to then read the value of the date field, calculate the age, and store it in your hidden field.&#60;/p&#62;
&#60;p&#62;Documentation for the gform_pre_submission hook can be found here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>placson on "Calculate age from date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculate-age-from-date#post-37724</link>
			<pubDate>Wed, 12 Oct 2011 16:27:34 +0000</pubDate>
			<dc:creator>placson</dc:creator>
			<guid isPermaLink="false">37724@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a way to calculate the person's age based on a date field (MM/DD/YYYY)?  I'd like to have the user enter their date of birth and after entering allow a hidden field or read-only field appear that shows their calculated age.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
