<?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: passing conditional user meta</title>
		<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta</link>
		<description>Gravity Support Forums Topic: passing conditional user meta</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 13:14:44 +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/passing-conditional-user-meta" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-87666</link>
			<pubDate>Mon, 05 Nov 2012 17:31:57 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">87666@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Formmaker, please do begin a new topic so we can address your situation with individual attention.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Formmaker on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-87642</link>
			<pubDate>Mon, 05 Nov 2012 16:01:52 +0000</pubDate>
			<dc:creator>Formmaker</dc:creator>
			<guid isPermaLink="false">87642@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;i posted it here because it thought it completely related &#60;/p&#62;
&#60;p&#62;	-proper syntax for grabbing values from a drop down menu - seemed similar to original question,&#60;br /&#62;
	-and i also have field and value concerns much like previous poster,&#60;br /&#62;
	-i too want to use user meta if possible properly and I too want to pre-populate....&#60;br /&#62;
	-the only difference - which should simplify - is conditional aspect - which i am not sure i need but could need it.&#60;/p&#62;
&#60;p&#62;i tried setting this up and when the user grabbed a drop down menu item they seemed to be getting another value for a response.... this seems confusing - poster starts a thread with a topic, you search for something similar and find it as related to your concern...poster and support evolve the topic, you post regarding similarity to first posts....but asked to start a new thread.&#60;/p&#62;
&#60;p&#62;5 days &#60;/p&#62;
&#60;p&#62;square one.&#60;br /&#62;
ok&#60;br /&#62;
i will repost i guess, it is just unfortuenate that it will be separated from something so related - part  of the problem i am having is getting too many relevant responses for the same issue or topic...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-85564</link>
			<pubDate>Wed, 31 Oct 2012 07:41:36 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">85564@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Formmaker, please begin a new topic with your question as it is completely unrelated to this topic here.  I'll delete your reply here after you have created a new topic.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Formmaker on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-85288</link>
			<pubDate>Tue, 30 Oct 2012 16:13:49 +0000</pubDate>
			<dc:creator>Formmaker</dc:creator>
			<guid isPermaLink="false">85288@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;i am trying to grab a vlue from a dropdown choice that is only on the form and prepopulate the notification message with it&#60;/p&#62;
&#60;p&#62;{Current Academy and Team:60} is the field code i used for the drop downmenu, but there are many selections (100), and when i pick one it gives me a different result in the notification form mailed out&#60;/p&#62;
&#60;p&#62;menu is set usps as field -= school  value = team&#60;br /&#62;
problem people are picking  based on school and wrong school is showing up omn their notification&#60;/p&#62;
&#60;p&#62;concenred this is a bug unless i just need to up date my syntax
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-81837</link>
			<pubDate>Wed, 17 Oct 2012 21:04:47 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81837@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The example code on this page is good:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_user_registered&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_user_registered&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Instead of just the single line to update usermeta, you will have a function to see which field in your entry was filled in, then update the single key with any one of those three types of value. What I would do is dump the $entry array with &#60;strong&#62;print_r($entry);&#60;/strong&#62; and see there the values show up in your form submission.  Then, it will be a matter of determining which one is set, and updating the usermeta as shown in the example code.  There are only a couple more lines you will need to add to the example.  If you get stuck, share a print_r of the entry (post it at pastebin.com or pastie.org because it will be huge.) You should submit the form with each of the three types of inputs being used, so you know exactly how each will show up in your entry.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>donaker on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-81750</link>
			<pubDate>Wed, 17 Oct 2012 12:11:00 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">81750@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That sounds promising Chris. Would you have an example of such a function?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-81691</link>
			<pubDate>Wed, 17 Oct 2012 08:09:45 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81691@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could update the one meta key after form submission using gform_user_registered.  Do not map the field in the user registration feed.  Then, in the code which runs attached to gform_user_registered, you can test for which selection was made in your form, and store the correct value.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>donaker on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-81398</link>
			<pubDate>Tue, 16 Oct 2012 09:02:08 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">81398@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The client only wants one key in the user profile.&#60;/p&#62;
&#60;p&#62;Would there be some way to write a pre-submission hook which checks which conditional field has been populated and pass that?&#60;/p&#62;
&#60;p&#62;Or maybe pass the results of the conditional fields into a new hidden field and use that to populate the meta key?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-81271</link>
			<pubDate>Mon, 15 Oct 2012 21:01:04 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81271@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It may not be possible to do that.  Can you map state to one key, province to another and region to another, then test in the profile which one is populated, and display that?  I don't think you can combine conditional logic and mapping the usermeta like that.&#60;/p&#62;
&#60;p&#62;You could instead update the usermeta after form submission using the gform_user_registered filter.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_user_registered&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_user_registered&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The example shows updating the usermeta.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>donaker on "passing conditional user meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-conditional-user-meta#post-81088</link>
			<pubDate>Mon, 15 Oct 2012 08:19:36 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">81088@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;you've described the problem, exactly. I'd like to store things in the same meta key.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
