<?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: Using the jscolor picker</title>
		<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker</link>
		<description>Gravity Support Forums Topic: Using the jscolor picker</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 19:19: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/using-the-jscolor-picker" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37659</link>
			<pubDate>Tue, 11 Oct 2011 21:36:01 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">37659@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Aaron.  No problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>aarondub84 on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37650</link>
			<pubDate>Tue, 11 Oct 2011 20:23:43 +0000</pubDate>
			<dc:creator>aarondub84</dc:creator>
			<guid isPermaLink="false">37650@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It works. It is perfect. I really thank you guys for all of the help. It really is appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37559</link>
			<pubDate>Tue, 11 Oct 2011 12:15:33 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">37559@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, the easiest way to enable this is with a small jQuery snippet to add the class to the inputs. I copied your form page and tested it.. link is below.&#60;/p&#62;
&#60;p&#62;test page: &#60;a href=&#34;http://bit.ly/qUBN9F&#34; rel=&#34;nofollow&#34;&#62;http://bit.ly/qUBN9F&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You will want to add the jQuery snippet before the jscolor script gets loaded and of course after the jQuery library is loaded in your theme. I put this directly before the closing &#38;lt; /head &#38;gt; tag.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery(document).ready(function() {

	jQuery(&#38;quot;li.jscolor input&#38;quot;).addClass(&#38;quot;color&#38;quot;);

});
&#38;lt;/script&#38;gt;

&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;http://www.imitationmedia.com/wp-content/themes/qlassik/js/jscolor/jscolor.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then, all you need to do is add the additional classname &#34;jscolor&#34; to your field in the form admin and you should be good to go. It works well in my tests as you can see below.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://screencast.com/t/eoUgrkqL&#34; rel=&#34;nofollow&#34;&#62;http://screencast.com/t/eoUgrkqL&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37548</link>
			<pubDate>Tue, 11 Oct 2011 11:41:39 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">37548@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't think you can do it the way you're trying, with an HTML field and copy and paste like that.&#60;/p&#62;
&#60;p&#62;Basically, with a simple text input, you want to add a class of 'color' to the input so that your script is added?  Is that accurate?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[html]
&#38;lt;input class=&#38;quot;color&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But in the form editor, you can only add a class to the&#60;br /&#62;
&#38;lt; li &#38;gt;, correct?&#60;/p&#62;
&#60;p&#62;I think you will have to use jQuery to add the class to the fields you need to target, or will need to modify the jscolor script to target &#34;li.color input&#34; rather than just &#34;input.color&#34;.  I will have Kevin take a look and see if he has a simple solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>aarondub84 on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37537</link>
			<pubDate>Tue, 11 Oct 2011 07:55:45 +0000</pubDate>
			<dc:creator>aarondub84</dc:creator>
			<guid isPermaLink="false">37537@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I overlooked that important issue. I revised the link and now it is working in the field that I created from the original fields html. But the html field answer doesn't show up in the email notification that is sent to me. Is there a way to change the input class of the original field to 'color' rather than the size? Thanks for the help so far.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37517</link>
			<pubDate>Tue, 11 Oct 2011 00:57:30 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">37517@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I see this in the header of your page:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[html]
&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;js/jscolor/jscolor.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But that file does not exist.  You will need to correct the path to that file before going any further.  The file actually exists here in the theme folder:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.imitationmedia.com/wp-content/themes/qlassik/js/jscolor/jscolor.js&#34; rel=&#34;nofollow&#34;&#62;http://www.imitationmedia.com/wp-content/themes/qlassik/js/jscolor/jscolor.js&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So, in your header.php, you could use that link, or a WordPress function to get the template directory.  You might also want to enqueue it only on the pages where it's needed.&#60;/p&#62;
&#60;p&#62;That's the first error.  Get the path to the script correct first, so you can use it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>aarondub84 on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37442</link>
			<pubDate>Mon, 10 Oct 2011 08:54:50 +0000</pubDate>
			<dc:creator>aarondub84</dc:creator>
			<guid isPermaLink="false">37442@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to get the color picker to work at the bottom of the second page on the form at this link: &#60;a href=&#34;http://www.imitationmedia.com/request&#34; rel=&#34;nofollow&#34;&#62;http://www.imitationmedia.com/request&#60;/a&#62;&#60;br /&#62;
Here is how I tried to make it work. I tried the script in two places, in the header.php and in an html block in the form.&#60;br /&#62;
Since I couldn't change the input class in the form, I created the input field for the color picker, then I viewed the source of the page and copied that field code between the&#60;br /&#62;
&#38;lt; li &#38;gt; and &#38;lt; /li &#38;gt;&#60;br /&#62;
 and pasted that into an html block in the form and changed the input class to &#34;color&#34;. But the color picker is not showing up. That is where I am at now.&#60;br /&#62;
There are two color picker fields at the moment. One was created in the html block. Thanks for the help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37429</link>
			<pubDate>Mon, 10 Oct 2011 03:07:33 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">37429@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please post a link to your form where you have tried to implement this and explain how you are including it.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>aarondub84 on "Using the jscolor picker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-the-jscolor-picker#post-37408</link>
			<pubDate>Sun, 09 Oct 2011 15:11:58 +0000</pubDate>
			<dc:creator>aarondub84</dc:creator>
			<guid isPermaLink="false">37408@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would really appreciate any help with making this color picker work in a form: &#60;a href=&#34;http://jscolor.com/&#34; rel=&#34;nofollow&#34;&#62;http://jscolor.com/&#60;/a&#62;&#60;br /&#62;
It is really simple when working in html. I know it isn't totally the same, but it seems like it would be the easiest to integrate. I did everything I thought I should do, but it doesn't seem to work. Any insight is greatly appreciated. Thanks in advance.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
