<?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: Adding a &#039;Color Picker&#039;</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1</link>
		<description>Gravity Support Forums Topic: Adding a &#039;Color Picker&#039;</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 18:53:04 +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/adding-a-color-picker-1" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-18166</link>
			<pubDate>Thu, 10 Feb 2011 01:09:16 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">18166@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you got that sorted.&#60;/p&#62;
&#60;p&#62;Last night I checked the size of that page and the download time out of curiosity, and it's huge.  Once you're done building the site, you may want to consider optimizing it to use less resources.&#60;/p&#62;
&#60;p&#62;Check this PDF:&#60;br /&#62;
&#60;a href=&#34;http://k.min.us/iesw0K.pdf&#34; rel=&#34;nofollow&#34;&#62;http://k.min.us/iesw0K.pdf&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;1.2 MB for the page and 208 HTTP requests.&#60;/p&#62;
&#60;p&#62;But I'm still glad you got your color picker working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Lyle Dillie on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-18145</link>
			<pubDate>Wed, 09 Feb 2011 23:38:06 +0000</pubDate>
			<dc:creator>Lyle Dillie</dc:creator>
			<guid isPermaLink="false">18145@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;it works now.  Thank you so much
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Lyle Dillie on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-18129</link>
			<pubDate>Wed, 09 Feb 2011 21:12:26 +0000</pubDate>
			<dc:creator>Lyle Dillie</dc:creator>
			<guid isPermaLink="false">18129@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;thanks.  I will try this tonight
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-18023</link>
			<pubDate>Tue, 08 Feb 2011 21:00:24 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">18023@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There is also a lot of JavaScript on that page.  It may need more than a simple move to after jQuery is included to make it work, but my previous suggestion still stands.&#60;/p&#62;
&#60;p&#62;Screenshot of the script listing:&#60;br /&#62;
&#60;a href=&#34;http://i.min.us/iekgWO.png&#34; rel=&#34;nofollow&#34;&#62;http://i.min.us/iekgWO.png&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-18019</link>
			<pubDate>Tue, 08 Feb 2011 20:35:18 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">18019@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Seems to me that your scripts are out of order.  You have included the color picker script BEFORE including jquery, and it's throwing errors.  It is affecting other scripts on the page too (maybe less important or unneeded things):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Error: jQuery is not defined
Source File: &#60;a href=&#34;http://desertseadesign.com/js/gf_likert.js&#34; rel=&#34;nofollow&#34;&#62;http://desertseadesign.com/js/gf_likert.js&#60;/a&#62;
Line: 4

Error: jQuery is not defined
Source File: &#60;a href=&#34;https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js&#34; rel=&#34;nofollow&#34;&#62;https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js&#60;/a&#62;
Line: 17

Error: jQuery is not defined
Source File: &#60;a href=&#34;http://desertseadesign.com/jquery.gccolor.1.0.3/jquery.gccolor.1.0.3.js&#34; rel=&#34;nofollow&#34;&#62;http://desertseadesign.com/jquery.gccolor.1.0.3/jquery.gccolor.1.0.3.js&#60;/a&#62;
Line: 368

Error: jQuery is not defined
Source File: &#60;a href=&#34;http://desertseadesign.com/qr-card-order-form/&#34; rel=&#34;nofollow&#34;&#62;http://desertseadesign.com/qr-card-order-form/&#60;/a&#62;
Line: 12&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;jQuery should be included before all your other scripts that rely on jQuery.  Try moving the color picker script (external and inline) to just before the closing &#38;lt;/head&#38;gt; and see if it starts working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Lyle Dillie on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-17927</link>
			<pubDate>Tue, 08 Feb 2011 12:52:48 +0000</pubDate>
			<dc:creator>Lyle Dillie</dc:creator>
			<guid isPermaLink="false">17927@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;not working :( with this script&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://desertseadesign.com/qr-card-order-form/&#34; rel=&#34;nofollow&#34;&#62;http://desertseadesign.com/qr-card-order-form/&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
		var $j = jQuery.noConflict();
		var testChange = function(target, color){
			target.val(&#38;#39;#&#38;#39; + color);
		}
	  $j(document).ready(function(){
	  	$j(&#38;#39;#input_9_33&#38;#39;).gccolor({
				onChange : testChange
			});
		});
	&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;not sure if the javascript is right
&#60;/p&#62;</description>
		</item>
		<item>
			<title>keiran on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-12619</link>
			<pubDate>Fri, 12 Nov 2010 23:05:29 +0000</pubDate>
			<dc:creator>keiran</dc:creator>
			<guid isPermaLink="false">12619@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Alex and Dreamwhisper, for your helpful suggestions and comments.  I will revisit the idea when time permits but for now, I have retained the conditional logic elements of the form (more important than the colour picker) and embedded a colour picker outside the form (in the sidebar) for clients to use if they need to reference a HTML colour code.&#60;/p&#62;
&#60;p&#62;Many thanks for your wonderful assistance though :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamwhisper on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-12289</link>
			<pubDate>Mon, 08 Nov 2010 13:27:49 +0000</pubDate>
			<dc:creator>dreamwhisper</dc:creator>
			<guid isPermaLink="false">12289@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This color picker was rather easy to implement: &#60;a href=&#34;http://gusc.lv/jquery/gccolor.html&#34; rel=&#34;nofollow&#34;&#62;http://gusc.lv/jquery/gccolor.html&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
	&#38;lt;link rel=&#38;quot;stylesheet&#38;quot; type=&#38;quot;text/css&#38;quot; href=&#38;quot;../jquery.gccolor.1.0.3/css/gccolor.css&#38;quot; /&#38;gt;
	&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;../jquery.gccolor.1.0.3/jquery.gccolor.1.0.3.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
	&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
		var $j = jQuery.noConflict();
		var testChange = function(target, color){
			target.val(&#38;#39;#&#38;#39; + color);
		}
	  $j(document).ready(function(){
	  	$j(&#38;#39;#input_1_17, #input_1_18, #input_1_19, #input_1_20, #input_1_21&#38;#39;).gccolor({
				onChange : testChange
			});
		});
	&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-12286</link>
			<pubDate>Mon, 08 Nov 2010 13:07:57 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">12286@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There seems to be a couple of issues here.&#60;br /&#62;
1- The iColorPicker seems to be conflicting with the conditional logic (that is the reason your form is blank/hidden sometimes&#60;br /&#62;
2- This script does not support the initialization script you are trying to implement. It expects that your input is of a certain class (i.e. &#38;lt;input class='iColorPicker' /&#38;gt; ). The problem is that Gravity Forms won't allow you to add a custom class to the input. You can only add one to the parent&#60;/p&#62;
&#60;p&#62;What I would recommend is start with a form that does not have conditional logic in it, and get the color picker working there. Then add the conditional logic to your form.&#60;/p&#62;
&#60;p&#62;Good Luck!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamwhisper on "Adding a &#039;Color Picker&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-color-picker-1#post-12281</link>
			<pubDate>Mon, 08 Nov 2010 10:55:08 +0000</pubDate>
			<dc:creator>dreamwhisper</dc:creator>
			<guid isPermaLink="false">12281@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Did you insert the iColorPicker.js in the header or footer under Genesis Theme options?  It isn't showing in your header or footer, but rather in your content.  Alternatively, you can do it in functions.php using &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/wp_enqueue_script&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/wp_enqueue_script&#60;/a&#62;.  Also, it didn't appear to me that you added the class to your field.&#60;/p&#62;
&#60;p&#62;Their example uses a class of iColorPicker for the input, though I didn't really delve into the instructions.&#60;br /&#62;
&#38;lt;input id=&#34;mycolor&#34; name=&#34;mycolor&#34; type=&#34;text&#34; value=&#34;#ffcc00&#34; class=&#34;iColorPicker&#34; /&#38;gt;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
