| Post |
|
Justin Tyler Moore - Guest
10:33 pm - April 25, 2008
|
| |
|
I Would absolutely LOVE to have a color picker field that allows the user to click to open up a color wheel, choose the color, then the HEX value of the color gets submitted with the form!!!
I have looked all over the place for hours and hours and can't seem to find something that I can make work with cformsII! I am no expert by any means, but I can copy & paste with the pros... I just haven't really grasped the idea behind php and the loop. I can write html all day, but its these extrememly usefull things that I can't seem to be able to figure out!
Your help will be GREATLY appreciated!!! I've gotten to that point where I'm willing to pay someone to do it!!! Thanks Guys!!!
|
|
|
Oliver
- Admin
8:42 am - April 26, 2008
posts 3553 |
| |
|
cforms currently doesn't support that.
My recommendation is to search for a jQuery "add-on" that allows you to (similar to the cforms date-picker feature) add a color-picker feature *after* the form has been generated.
If you search the jQuery extension pages I'm quite confident that you'll find something, the level of effort is minimal. The jQuery documentation is very good.
|
|
|
Justin Tyler Moore - Guest
3:05 pm - April 26, 2008
|
| |
|
You rock Oliver!!!!! I must say that cformsII is definitely tied with PodPress as the best plugin available for WP hands down! I've been working with cformsII alot over the past month or so and It's quickly taking the lead!!! I make television commercials and I'm trying to come up with an on line "idea generator" for clients to connect to and fill out a form with several different fields like keywords, bulletpoints, logo uploads, and hopefully a customizable color scheme. Anything I can do to get the clients thoughts and ideas before I begin production always helps out in the long run, and it cuts down on revisions.... I have even turned WP into an online ordering system for the entire sales staff using cformsII. It has played a HUGE roll in orgainzing our company. With the tracking feature, I know that 10 years down the road, I will have an archive of everything that has gone through my system! I couldn't ask for anything better!!!
CformsII has really been a big help with my business over the past several months and I'm looking forward to sending you a donation to support all your hard work!
As for the color picker, I noticed that under global settings>CAPTCHA Image Settings you can specify a color for the font color and border color, and the color picker you used for that is EXACTLY what Im looking for!!! The ones I have come across on my search are all hard coded lists of predefined colors and thats what I don't want. I want a spectrum, and what you have there is PERFECT!!! I'm gonna do some investigating, and see what I can come up with!!! To see my "Brainstorm" form, you can click here.
Obviously this hasn't been implemented on my site as of yet and is still in need of some attention. But Thanks for your response, and I will give jQuery a shot!
ps...I just did a quick scan over your site and I didn't see a donate button...am I mistaken that I saw one?
 
|
|
|
Oliver
- Admin
4:32 pm - April 26, 2008
posts 3553 |
| |
|
I'm glad you get good use out of cforms! Here are some jQuery color pickers (in order of preference):
http://www.intelliance.fr/jquery/color_picker/ http://acko.net/dev/farbtastic
'All you need to do' (theoretically), is:
- turn on the datepicker feature (this includes jQuery!)
- include the individual (above) JS file(s) in your HTML header, except the jQuery JS file (if present). Also make sure it gets loaded after cforms loads jQuery.
- insert the necessary jQuery JS function/calls into your HTML header, referencing your color input field (#Colors)
The first one comes with good documentation and end2end example. You should have it up and running in no time.
|
|
|
Justin Tyler Moore - Guest
5:17 pm - April 26, 2008
|
| |
|
Funny I just ran across the fantastic picker 5 minutes ago! I found it through this site...
Name That Color
He took it a step further and has the hex value return a crayola'esk color name so that colorblind people can still comprehend color in a sense. Kinda cool...
also found these:
Photoshop Style Color Picker
DHTML Color Picker
Yahoo Color Picker Dialog
Color Picker Widget
Rainbow
Colorzilla
I'm burried in code right now, so I'll post my results in a bit!
Oh yeah, I'm officially dubbing you "Oliver the Great"!!!
one more thing... well i guess two more things... 1, is this a WP blog, and if yes, 2 what script/plug-in are you using to scale down images with that little mouse icon that makes it big again?....

|
|
|
Justin Tyler Moore - Guest
5:29 pm - April 26, 2008
|
| |
|
Just came across the coolest yet!
Color Formulas
would any of these be able to pass data through a form submission???

|
|
|
Oliver
- Admin
5:34 pm - April 26, 2008
posts 3553 |
| |
|
I'm not sure if "Color Formulas" would work well, because it isn't built on top of jQuery and may require more substantial changes to the code.
http://www.intelliance.fr/jquery/color_picker/
for instance should definitely work, since it sort of runs on top of cforms.
Form submission wise, cforms doesn't care about the color picker, all it cares about is the input field and the value in it. If you don't have any regexp or other validation requirements configured, it even doesn't care about the value. It could be RGB value, hex number or other.
|
|