<?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: Dynamically populate quantity field based on currently logged in user</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-quantity-field-based-on-currently-logged-in-user</link>
		<description>Gravity Support Forums Topic: Dynamically populate quantity field based on currently logged in user</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:24:06 +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/dynamically-populate-quantity-field-based-on-currently-logged-in-user" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamically populate quantity field based on currently logged in user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-quantity-field-based-on-currently-logged-in-user#post-160202</link>
			<pubDate>Mon, 04 Mar 2013 15:54:11 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">160202@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you want to tie a quantity to a user, you can use the usermeta table.  I'm not sure how you register users with the Restrict Content Pro plugin.  If you were using the User Registration add-on, you could store that value as part of their profile in the usermeta table.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gluethje on "Dynamically populate quantity field based on currently logged in user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-quantity-field-based-on-currently-logged-in-user#post-157010</link>
			<pubDate>Thu, 28 Feb 2013 14:32:41 +0000</pubDate>
			<dc:creator>gluethje</dc:creator>
			<guid isPermaLink="false">157010@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is my situation:&#60;/p&#62;
&#60;p&#62;We will pre register around 12 users using the Restrict Content Pro plugin, so that the form itself is login protected.&#60;/p&#62;
&#60;p&#62;Once the user is logged in, we would like a product quantity field to be dynamically populated with a value that we have determined ahead of time, that will vary per user.&#60;/p&#62;
&#60;p&#62;I'm not sure how to go about this. I can see that we will need to store the quantity values for each user somewhere. Or we will need some sort of if statement along the lines of&#60;br /&#62;
if (user = username) { quantity = number }
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
