Highlighted

Color picker in a form?

Avatar

18-12-2008

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

Replies

Highlighted

Avatar

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786
Niall_O_Donovan

05-11-2009

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.