<?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: Registration form still accessible to logged in users</title>
		<link>https://legacy.forums.gravityhelp.com/topic/registration-form-still-accessible-to-logged-in-users</link>
		<description>Gravity Support Forums Topic: Registration form still accessible to logged in users</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 01:06:19 +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/registration-form-still-accessible-to-logged-in-users" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "Registration form still accessible to logged in users"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/registration-form-still-accessible-to-logged-in-users#post-52163</link>
			<pubDate>Mon, 12 Mar 2012 17:18:26 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">52163@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, ignatiusjeroe,&#60;/p&#62;
&#60;p&#62;You can accomplish this by adding some code using the &#34;gform_pre_render&#34; (&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;) hook. The example below is something you could add to your theme's functions.php file:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//add the pre_render filter for form id = 5
add_action(&#38;quot;gform_pre_render_5&#38;quot;, &#38;quot;redirect_logged_in_user&#38;quot;);
function redirect_logged_in_user()
{
	if (is_user_logged_in())
	{
		echo &#38;#39;&#38;lt;script language=&#38;quot;javascript&#38;quot;&#38;gt;location.href=&#38;quot;http://www.rocketgenius.com&#38;quot;&#38;lt;/script&#38;gt;&#38;#39;;
	}
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>ignatiusjeroe on "Registration form still accessible to logged in users"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/registration-form-still-accessible-to-logged-in-users#post-51247</link>
			<pubDate>Sun, 04 Mar 2012 15:26:21 +0000</pubDate>
			<dc:creator>ignatiusjeroe</dc:creator>
			<guid isPermaLink="false">51247@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've noticed that a logged in user can still access the registration form and make use of it. Not really practical. Is there any way that the user will be redirected to the homepage on click?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
