PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to add a color picker to my gravity form

  1. Can anyone point me in the right direction or advise me with the steps to take to integrate a color picker (jquery) in my gravity form and actually save the information and have it sent with the form.

    Posted 10 years ago on Sunday March 25, 2012 | Permalink
  2. I am also interested in knowing how to add a color picker into gravity forms. Is it possible?

    Posted 9 years ago on Monday August 6, 2012 | Permalink
  3. David Peralty

    You could integrate something like this: http://jscolor.com/ just adding a CSS class to an input field, and adding the JS call to the header of your theme.

    Posted 9 years ago on Monday August 6, 2012 | Permalink
  4. I'm not following this. I tried for about an hour to get it to work with no luck.

    I added the JS call. I added the CSS class and no luck on getting it to work.

    Posted 9 years ago on Wednesday August 8, 2012 | Permalink
  5. David Peralty

    Can you link to your form so I can see it in action?

    Posted 9 years ago on Wednesday August 8, 2012 | Permalink
  6. I am also working to accomplish this. As I understand it, a secondary script is needed to add the "color" class to the input element. Apparently, Gravity Forms only lets you add classes to the li element. Is this correct? Is the example code I can look at?

    Thanks.

    Posted 9 years ago on Thursday October 18, 2012 | Permalink
  7. Scott, see this post on adding a class to the inputs rather than the LI with a custom CSS class:
    http://www.gravityhelp.com/forums/topic/using-the-jscolor-picker#post-37559

    Posted 9 years ago on Thursday October 25, 2012 | Permalink