For an example implementation, the field example in the <a href="http://drupal.org/project/examples">Examples project</a> (D7) has a color picker that uses the core &quot;Farbtastic&quot; library. It&#39;s quite straightforward and might be a useful starting place.<br>
<br>-Randy<br><br><div class="gmail_quote">On Tue, Jun 28, 2011 at 3:58 AM, Steven Jones <span dir="ltr">&lt;<a href="mailto:steven.jones@computerminds.co.uk">steven.jones@computerminds.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Nicola,<br>
<br>
A quick google around suggests that there is no module that makes such<br>
integration easy, but I would suggest the following approach:<br>
<br>
1. Find a module that provides a colour picker element, google suggests either:<br>
<a href="http://drupal.org/project/colorpicker" target="_blank">http://drupal.org/project/colorpicker</a><br>
<a href="http://drupal.org/project/jquery_colorpicker" target="_blank">http://drupal.org/project/jquery_colorpicker</a><br>
<br>
Note that the former doesn&#39;t have a Drupal 7 release, though it does<br>
have an issue with a possible port, but the second project does have a<br>
D7 release.<br>
<br>
2. Learn how to integrate the form component with webform, useful<br>
documents looks to be here:<br>
<a href="http://drupal.org/node/886014" target="_blank">http://drupal.org/node/886014</a><br>
But you are possibly on your own here a little as the documentation<br>
possibly isn&#39;t as complete as it could be (whose documentation is eh?)<br>
<br>
3. Contribute the patch for the webform integration back to the<br>
project you integrated with, details of the process are here:<br>
<a href="http://drupal.org/patch/submit" target="_blank">http://drupal.org/patch/submit</a><br>
<br>
Hope that helps.<br>
<br>
Regards<br>
Steven Jones<br>
ComputerMinds ltd - Perfect Drupal Websites<br>
<br>
Phone : 024 7666 7277<br>
Mobile : <a href="tel:07702%20131%20576" value="+17702131576">07702 131 576</a><br>
Twitter : darthsteven<br>
<a href="http://www.computerminds.co.uk" target="_blank">http://www.computerminds.co.uk</a><br>
<div><div></div><div class="h5"><br>
<br>
<br>
On 28 June 2011 10:35, Nicola &lt;<a href="mailto:nirvana98@gmail.com">nirvana98@gmail.com</a>&gt; wrote:<br>
&gt; Hi Gurus,<br>
&gt; I have the necessity to insert a color picker into a webform as field.<br>
&gt; Someone know if there is some module that already do it?<br>
&gt; If didn&#39;t could you help me to define how to do it?<br>
&gt;<br>
&gt; Thanks<br>
&gt; Nicola<br>
&gt; --<br>
&gt; Nicola Bisinella<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1  970.462.7450<br><br>