<?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: How to check if form has been submitted, but on other page?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-check-if-form-has-been-submitted-but-on-other-page</link>
		<description>Gravity Support Forums Topic: How to check if form has been submitted, but on other page?</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 15:26:15 +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/how-to-check-if-form-has-been-submitted-but-on-other-page" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "How to check if form has been submitted, but on other page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-check-if-form-has-been-submitted-but-on-other-page#post-171300</link>
			<pubDate>Thu, 14 Mar 2013 12:37:22 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">171300@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Cookies is another way to do it.    I hope you can find a work-around you're happy with.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Pavel on "How to check if form has been submitted, but on other page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-check-if-form-has-been-submitted-but-on-other-page#post-171181</link>
			<pubDate>Thu, 14 Mar 2013 09:44:22 +0000</pubDate>
			<dc:creator>Pavel</dc:creator>
			<guid isPermaLink="false">171181@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, thx!&#60;br /&#62;
That's not really easy to use in case if I'll need to drop all the flags about accepted Terms if I'll change them... I thought there will be some tag/function, which I could use without grabbing data from DB or using personal User meta...&#60;br /&#62;
I think I'll use cookies then, but thanks for advice!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "How to check if form has been submitted, but on other page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-check-if-form-has-been-submitted-but-on-other-page#post-171003</link>
			<pubDate>Thu, 14 Mar 2013 06:18:15 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">171003@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would store something in the usermeta for that user which indicates that they already agreed to your terms of use.  You will need to make sure the user is registered, then you can use the gform_after_submission to update that user's meta (or if you are registering the user, you can store it automatically at that time using the User Registration add-on).   Here is the documentation for the gform_after_submission hook: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Then, on pages where you need to verify if they agreed to your terms or not, you will need to check the usermeta for the logged in user to see if it exists.  If so, then show them the content.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Pavel on "How to check if form has been submitted, but on other page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-check-if-form-has-been-submitted-but-on-other-page#post-169562</link>
			<pubDate>Wed, 13 Mar 2013 05:28:21 +0000</pubDate>
			<dc:creator>Pavel</dc:creator>
			<guid isPermaLink="false">169562@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've created a form with &#34;Terms of Use&#34; agreement at my WordPress site. If user agree - it's redirecting to other page. But now I need to check on the other pages - if user submitted this form - it's OK, if not - user should be redirected to the page with &#34;Terms of Use&#34; again.&#60;/p&#62;
&#60;p&#62;What PHP construction I can use?&#60;br /&#62;
I need something like &#34;If entry of the formid=X exists for userid=Y, then do nothing. Else - redirect to the page Z.&#34;&#60;/p&#62;
&#60;p&#62;Please help. Thank you.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
