<?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: Display description and hide form fields based on cookie value</title>
		<link>https://legacy.forums.gravityhelp.com/topic/display-description-and-hide-form-fields-based-on-cookie-value</link>
		<description>Gravity Support Forums Topic: Display description and hide form fields based on cookie value</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 21:19:13 +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/display-description-and-hide-form-fields-based-on-cookie-value" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Display description and hide form fields based on cookie value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-description-and-hide-form-fields-based-on-cookie-value#post-36376</link>
			<pubDate>Tue, 27 Sep 2011 14:47:52 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">36376@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think gform_pre_render is too late.&#60;/p&#62;
&#60;p&#62;I would probably approach it either in the page template.  Put the function call to the form there.  Wrap it in a conditional based on whether or not the cookie value is true or false.  If the form has been submitted, display the &#34;only one submission per day&#34; message instead of the form.&#60;/p&#62;
&#60;p&#62;There might be a WordPress plugin that restricts access to content based on the value of a cookie as well, but I have not ever looked for one.&#60;/p&#62;
&#60;p&#62;I think gform_pre_render is the wrong way to approach it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Stylmark on "Display description and hide form fields based on cookie value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-description-and-hide-form-fields-based-on-cookie-value#post-36227</link>
			<pubDate>Mon, 26 Sep 2011 12:08:13 +0000</pubDate>
			<dc:creator>Stylmark</dc:creator>
			<guid isPermaLink="false">36227@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible using the gform_pre_render to either render the form as normal or just display the description based on a cookie value?  I'm looking to build a voting system that only allows one submission per day and I want to have the form description be used as the displayed text when a form has already been submitted.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
