<?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: Disable submit if user not logged in</title>
		<link>https://legacy.forums.gravityhelp.com/topic/disable-submit-if-user-not-logged-in</link>
		<description>Gravity Support Forums Topic: Disable submit if user not logged in</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 17:33:50 +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/disable-submit-if-user-not-logged-in" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Disable submit if user not logged in"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-submit-if-user-not-logged-in#post-211733</link>
			<pubDate>Tue, 16 Apr 2013 12:28:54 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">211733@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Nice work around, thanks for posting your solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>microweb on "Disable submit if user not logged in"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-submit-if-user-not-logged-in#post-211730</link>
			<pubDate>Tue, 16 Apr 2013 12:27:35 +0000</pubDate>
			<dc:creator>microweb</dc:creator>
			<guid isPermaLink="false">211730@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I actually just figured out a work around for this...&#60;/p&#62;
&#60;p&#62;1.  On the page where the final submit is done, I added a hidden field with the username merge field in it.&#60;br /&#62;
2. On the final page of my form, I collect credit card information for them to purchase the item. I only display the credit card field if the hidden field is not blank&#60;br /&#62;
3.  On the same page, I added HTML that includes text saying they must be logged in in order to purchase.  This is only visible if the hidden field is blank&#60;br /&#62;
4.  I also added a text field called loginrequired that is visible only if the hidden field is blank.  I created a css class that hides this field so the user can never enter a value in it and I set this field to be required.&#60;br /&#62;
Now, if the user is logged in, they can submit the form.  If the user is logged in, they will always get an error when they try to submit.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>microweb on "Disable submit if user not logged in"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-submit-if-user-not-logged-in#post-211716</link>
			<pubDate>Tue, 16 Apr 2013 12:04:07 +0000</pubDate>
			<dc:creator>microweb</dc:creator>
			<guid isPermaLink="false">211716@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have form that I needs to be visible if the user is not logged in, but they should not be able to submit anything without being logged in.  I've seen some older posts saying this is not available, but was wondering if this has been added or if there are any 3rd party add-ons that will accomplish this.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
