Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Muhammad Humayun 49 posts 79 karma points
    Sep 06, 2016 @ 09:51
    Muhammad Humayun

    How to use the built-in ColorPicker in a composite custom property?


    I'm trying to make a composite custom property where the editor can have multiple options to choose for the background of the page. If they select "Image", I show File Upload/Text Box for the Image URL. And if they select "Colour", I want to show them the colour picker.

    I can use a Jquery plugin for this but I would like to use the existing colour picker for consistency as well as to avoid any additional scripts when we already have built in.

    Many Thanks for your advises in advance. :-)

  • Dave Woestenborghs 3494 posts 12077 karma points MVP 7x admin c-trib
    Sep 06, 2016 @ 09:55
    Dave Woestenborghs

    Hi Muhammad,

    I explain this in the last section of this article :

    Give it a read and there are some links to example code.


  • Muhammad Humayun 49 posts 79 karma points
    Sep 06, 2016 @ 09:57
    Muhammad Humayun

    Awesome! Thanks a lot Dave, just going to go through your article.

Please Sign in or register to post replies

Write your reply to: