<?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: add List Field entries via jQuery</title>
		<link>https://legacy.forums.gravityhelp.com/topic/add-list-field-entries-via-jquery</link>
		<description>Gravity Support Forums Topic: add List Field entries via jQuery</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:25:48 +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/add-list-field-entries-via-jquery" rel="self" type="application/rss+xml" />

		<item>
			<title>Hybrid Small Biz on "add List Field entries via jQuery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-list-field-entries-via-jquery#post-58665</link>
			<pubDate>Fri, 11 May 2012 09:51:22 +0000</pubDate>
			<dc:creator>Hybrid Small Biz</dc:creator>
			<guid isPermaLink="false">58665@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was looking for the same thing....  I need to use gravity form for user registration and freshbook invoices but I want my clients to also be able to login with facebook after registering.... is this possible?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DTStudios on "add List Field entries via jQuery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-list-field-entries-via-jquery#post-56866</link>
			<pubDate>Sat, 28 Apr 2012 01:33:44 +0000</pubDate>
			<dc:creator>DTStudios</dc:creator>
			<guid isPermaLink="false">56866@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am doing a submission form with Gravity forms and I want to prepopulate the users name and email from their Facebook account. I am using Simple Facebook Connect plugin to log people in, and was wondering if you have the code you used to achieve that?&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Dave
&#60;/p&#62;</description>
		</item>
		<item>
			<title>emilyjem on "add List Field entries via jQuery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-list-field-entries-via-jquery#post-53025</link>
			<pubDate>Wed, 21 Mar 2012 06:54:21 +0000</pubDate>
			<dc:creator>emilyjem</dc:creator>
			<guid isPermaLink="false">53025@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, I used some javascript to retrieve the friendlist from facebook, iterate over them and add a list field (dual column) and call it via a button&#60;br /&#62;
(I already have the FB.init etc loaded..)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
	function getFriends(){
		oFormObject = document.forms[&#38;#39;gform_5&#38;#39;];
		FB.login(function(response) {
   			if (response.authResponse) {
				FB.api(&#38;#39;/me/friends&#38;#39;, function(response) {
        		if(response.data) {
				var num = 0;
            	jQuery.each(response.data,function(index,friend) {
					console.log(num+&#38;#39;-&#38;#39;+friend.name);
					gformAddListItem(oFormObject.elements[&#38;quot;input_8[]&#38;quot;][num], 0);
					oFormObject.elements[&#38;quot;input_8[]&#38;quot;][num].value = friend.name;
					oFormObject.elements[&#38;quot;input_8[]&#38;quot;][num+1].value = &#38;#39;0&#38;#39;;
					num = num + 2;

           		 });
        		} else {
					console.log(&#38;#39;error &#38;#39; );
        			}
   				 });
			}
		});
	}
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then added a html block and created a button;&#60;br /&#62;
&#60;code&#62;&#38;lt;input type=&#38;quot;button&#38;quot; class=&#38;quot;bluebutton&#38;quot; onclick=&#38;quot;getFriends()&#38;quot; value=&#38;quot;Get facebook Friends&#38;quot;/&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;it seems to work okay, I do something similar to get the name, email, gender and dob of the user to pre-populate those fields for a registration form
&#60;/p&#62;</description>
		</item>
		<item>
			<title>emilyjem on "add List Field entries via jQuery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-list-field-entries-via-jquery#post-52824</link>
			<pubDate>Mon, 19 Mar 2012 06:27:43 +0000</pubDate>
			<dc:creator>emilyjem</dc:creator>
			<guid isPermaLink="false">52824@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I want to populate a List Field from a popup window and was hoping I could use jQuery?&#60;br /&#62;
In the popup I will retrieve all FaceBook friends of a user and the user can just press add that is after the friend's name to push it to the List Field (and remove from popup)&#60;/p&#62;
&#60;p&#62;is this possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
