Skip Navigation

[Resolved] Colorpicker

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.83 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Minesh 6 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#602854

Hello

I have two Toolset custom fields: textcolor and background color, colorpicker type both
on CRED form is there any way to display dinamycally changing color combination sample, to demonstrate result of color selecting?
Thank you

#602877

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand you would like to display few predefined color combination as option to chose by user. If this is correct - no, there is no such feature available.

#602911

Hello
Not exactly
I would like to dynamically show the result of changing the both colorpicker values
Something like you could see here, on the left side
hidden link
but I would like to add a text over the box and change text color by other colorpicker
and see the result immideately
probably, I need some handmade JS for it...

#602918

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - you may need custom programming as the feature you are looking for is not integrated with colorpicker field.

Please check following Doc - and as you can see there is no such feature available:
https://toolset.com/documentation/customizing-sites-using-php/functions/#colorpicker

#603259
ColorPicker.png

Ok
Any guide or advise regarding JS hooks or API for it?
BTW, in my case control is looking quite different than on link you provide... (see attached screenshot

#603263

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - thanks for reporting that. I will ask our Doc team to update the latest screenshot with our Docs.

Well - you may try to use existing plugin:
=> https://wordpress.org/plugins/jquery-color-picker/

OR

Find alternative solution by adding colorpicker using jQuery.