Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Color picker in a form?

Avatar

Former Community Member
I'd like to add a color picker of some sort to a form I'm working on.

I'm open to any and all suggestions.



Thanks in advance!

-Ted
1 Reply

Avatar

Level 10

Hi,

Note sure if you can get the Dreamweaver extension to work in LiveCycle Designer.

Attached is an example where clicking a button assigns that colour to a global variable and to the captions of the fields. You can have the script in mouseEnter if you want.  The second option is allowing the user to select the RGB and then this is automatically applied to selected objects.

A lot depends on how many colours you want and what elements you want in the form to take up this colour.

Good luck,

Niall

ps just updated a version with "sliders", which set the colour on the change event.