<?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: Allow a &#34;Create a new site&#34; form only once using conditional logic?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/allow-a-create-a-new-site-form-only-once-using-conditional-logic</link>
		<description>Gravity Support Forums Topic: Allow a &quot;Create a new site&quot; form only once using conditional logic?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:23:57 +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/allow-a-create-a-new-site-form-only-once-using-conditional-logic" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Allow a &#34;Create a new site&#34; form only once using conditional logic?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-a-create-a-new-site-form-only-once-using-conditional-logic#post-316251</link>
			<pubDate>Mon, 10 Jun 2013 22:29:47 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">316251@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you got it sorted out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>chobson on "Allow a &#34;Create a new site&#34; form only once using conditional logic?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-a-create-a-new-site-form-only-once-using-conditional-logic#post-315873</link>
			<pubDate>Mon, 10 Jun 2013 18:01:33 +0000</pubDate>
			<dc:creator>chobson</dc:creator>
			<guid isPermaLink="false">315873@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes! Awesome. Thank you. That worked beautifully.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Allow a &#34;Create a new site&#34; form only once using conditional logic?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-a-create-a-new-site-form-only-once-using-conditional-logic#post-315436</link>
			<pubDate>Mon, 10 Jun 2013 13:01:13 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">315436@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chobson,&#60;/p&#62;
&#60;p&#62;Good question. This is definitely possible and although the solution I have for you isn't 100% locked down, I think it'll work for you.&#60;/p&#62;
&#60;p&#62;Here is the code. Paste this in your theme's functions.php file.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/8031090&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/8031090&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Next up, you'll need to configure a hidden field. We'll populate this field with the logged in user's blog ID.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://grab.by/nnCk&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/nnCk&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The last step is to use this hidden field &#34;User Blog ID&#34; in the conditional logic of any field (including page breaks) that should be shown/hidden depending on whether the user has a blog on the site. The code above will populate either a &#34;1&#34; or the ID of the first blog it loops through that is not the root site. In other words, if the user belongs to any &#34;blog&#34; on the network install besides the root blog, it will populate the ID of that blog.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://grab.by/nnCs&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/nnCs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This means that we can simply check if the Blog ID is &#34;1&#34; to determine whether or not the user belongs to another blog. &#34;Belonging&#34; to a blog and being the &#34;creator&#34; of a blog are not necessarily synonymous but I'm guessing your case it will be close enough.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>chobson on "Allow a &#34;Create a new site&#34; form only once using conditional logic?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-a-create-a-new-site-form-only-once-using-conditional-logic#post-313373</link>
			<pubDate>Sun, 09 Jun 2013 21:38:30 +0000</pubDate>
			<dc:creator>chobson</dc:creator>
			<guid isPermaLink="false">313373@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've got a form using the feed action &#34;Update User&#34; set up to allow an already logged in user to &#34;create a new site&#34; on my multisite network. I would like to use conditional logic to only display this form if the logged in user does not have a site on my network yet. If the logged in user already has created a site, I would like to simply hide the form as to only allow one site per user. &#60;/p&#62;
&#60;p&#62;Can this be done using a merge tag that has the user's multisite network site ID or something? This post over at gravity wiz got me thinking I might be able to pull this off, &#60;a href=&#34;http://gravitywiz.com/gravity-forms-conditional-logic-based-on-user-login/&#34; rel=&#34;nofollow&#34;&#62;http://gravitywiz.com/gravity-forms-conditional-logic-based-on-user-login/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Can this be done? Thanks in advance!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
